/* style/fishing-games.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --bg-dark: #000000; /* Body background from shared.css */
  --bg-light: #f5f5f5;
}

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

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

/* --- Video Section --- */
.page-fishing-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  background-color: var(--bg-dark);
}

.page-fishing-games__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none;
}

.page-fishing-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-fishing-games__video-link:hover .page-fishing-games__video-overlay {
  opacity: 1;
}

.page-fishing-games__video-click-hint {
  color: var(--text-on-dark);
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(var(--primary-color-rgb, 255, 215, 0), 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-fishing-games__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-fishing-games__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-fishing-games__play-now-button:hover {
  background: var(--secondary-color);
  color: var(--text-on-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-on-dark);
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-fishing-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-on-dark);
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
  background: var(--secondary-color);
  color: var(--text-on-dark);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* --- General Sections --- */
.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-on-dark);
}

/* Dark background section */
.page-fishing-games__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

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

/* Light background section */
.page-fishing-games__light-bg {
  background-color: var(--bg-light);
  color: var(--text-on-light);
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
  color: var(--secondary-color);
  text-shadow: none;
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
  color: var(--text-on-light);
}

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

.page-fishing-games__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--text-on-light);
}

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

.page-fishing-games__game-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 16px;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-fishing-games__game-button {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  color: var(--text-on-dark);
}

.page-fishing-games__step-item h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-fishing-games__step-item p {
  font-size: 17px;
  margin-bottom: 15px;
}

/* --- Strategies Section --- */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-fishing-games__strategy-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  color: var(--text-on-light);
}

.page-fishing-games__strategy-item h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-fishing-games__strategy-item p {
  font-size: 16px;
}

/* --- Promotions Section --- */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-fishing-games__promo-item {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  padding: 25px;
  color: var(--text-on-dark);
}

.page-fishing-games__promo-item h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-fishing-games__promo-item p {
  font-size: 16px;
}

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

.page-fishing-games__feature-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  color: var(--text-on-light);
}

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

.page-fishing-games__feature-item h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

/* --- Mobile App Section --- */
.page-fishing-games__mobile-app-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-fishing-games__mobile-app-text {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__mobile-app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

/* --- FAQ Section --- */
.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--primary-color);
}

.page-fishing-games__faq-question:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: var(--secondary-color);
}

.page-fishing-games__faq-question:active {
  background: rgba(255, 215, 0, 0.3);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: var(--text-on-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 10px 10px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 15px;
  font-size: 16px;
}

/* --- Final CTA Section --- */
.page-fishing-games__cta-final-section {
  text-align: center;
  padding: 80px 20px;
}

/* --- Responsive Design (Mobile First) --- */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 40px 15px;
  }

  /* Video Section */
  .page-fishing-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 4px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 4px;
    object-fit: contain;
  }
  
  .page-fishing-games__video-cta {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .page-fishing-games__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-fishing-games__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  /* Hero Section */
  .page-fishing-games__hero-section {
    height: auto;
    padding: 60px 15px;
  }

  .page-fishing-games__main-title {
    font-size: 32px;
    line-height: 1.2;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-fishing-games__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 16px;
  }

  /* General Sections */
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-fishing-games__text-block {
    font-size: 16px;
  }

  /* Game List */
  .page-fishing-games__game-list {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__game-image {
    height: 200px;
  }

  /* Strategy List */
  .page-fishing-games__strategy-list {
    grid-template-columns: 1fr;
  }

  /* Promotion List */
  .page-fishing-games__promo-list {
    grid-template-columns: 1fr;
  }

  /* Security Features */
  .page-fishing-games__security-features {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__feature-icon {
    height: 150px;
  }

  /* Mobile App Section */
  .page-fishing-games__mobile-app-flex {
    flex-direction: column;
  }

  .page-fishing-games__mobile-app-image {
    max-width: 90%;
  }

  /* FAQ Section */
  .page-fishing-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-fishing-games__faq-question h3 {
    font-size: 16px;
    width: calc(100% - 40px);
  }
  
  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 24px;
  }
  
  .page-fishing-games__faq-answer {
    padding: 0 15px;
  }
  
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px !important;
  }

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

  .page-fishing-games__section, .page-fishing-games__card, .page-fishing-games__container, .page-fishing-games__game-card, .page-fishing-games__feature-item, .page-fishing-games__promo-item, .page-fishing-games__step-item, .page-fishing-games__strategy-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__mobile-app-text, .page-fishing-games__mobile-app-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}