/* style/fishing-games.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.08);
  --card-bg-light: #ffffff;
  --border-color: #333;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so text should be light */
  background-color: var(--bg-dark);
  line-height: 1.6;
}

.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: 10px; /* Desktop: Adjust based on fixed header height */
  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.4);
}

.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; /* Prevents video controls from blocking click event */
}

.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: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(255, 215, 0, 0.7);
  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: #000000; /* Ensuring high contrast with gold */
  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.25);
  border: none;
  cursor: pointer;
}

.page-fishing-games__play-now-button:hover {
  background: var(--secondary-color);
  color: var(--text-light); /* Ensuring high contrast with red */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.page-fishing-games__hero-section {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #a00000 100%);
  color: var(--text-light);
  padding-top: 120px; /* Desktop: Adjust based on fixed header height, if no video section */
}

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

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

.page-fishing-games__description {
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.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;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: nowrap;
}

.page-fishing-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-dark); /* High contrast with gold */
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
  background: var(--secondary-color);
  color: var(--text-light); /* High contrast with dark red */
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.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(--text-dark);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.page-fishing-games__features {
  background-color: #1a1a1a;
}

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter is applied */
}

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

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

.page-fishing-games__popular-games {
  background-color: var(--secondary-color);
}

.page-fishing-games__popular-games .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__popular-games .page-fishing-games__section-intro {
  color: rgba(255, 255, 255, 0.9);
}

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

.page-fishing-games__game-card {
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter is applied */
}

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

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
  margin: 0 15px 20px 15px;
  width: calc(100% - 30px);
  padding: 10px 20px;
  font-size: 1em;
}

.page-fishing-games__strategy {
  background-color: #1a1a1a;
}

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

.page-fishing-games__strategy-item {
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 215, 0, 0.2);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__strategy-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1em;
}

.page-fishing-games__promotions {
  background-color: var(--secondary-color);
}

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

.page-fishing-games__promotions .page-fishing-games__section-intro {
  color: rgba(255, 255, 255, 0.9);
}

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

.page-fishing-games__promotion-card {
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter is applied */
}

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

.page-fishing-games__promotion-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 15px 20px 15px;
}

.page-fishing-games__promotion-card .page-fishing-games__btn-primary {
  margin: 0 15px 20px 15px;
  width: calc(100% - 30px);
  padding: 10px 20px;
  font-size: 1em;
}

.page-fishing-games__mobile-app {
  background-color: #1a1a1a;
}

.page-fishing-games__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-fishing-games__app-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-fishing-games__app-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__app-benefits li {
  background: rgba(255, 215, 0, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__app-benefits li p {
  margin: 0;
  padding: 0;
  color: var(--text-light); /* Ensure text is light on dark background */
}

.page-fishing-games__app-benefits li::before {
  content: '✔';
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-fishing-games__app-image-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  text-align: center;
}

.page-fishing-games__app-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  filter: none; /* Ensure no CSS filter is applied */
}

.page-fishing-games__faq-section {
  background-color: var(--bg-dark);
  padding-bottom: 80px;
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-dark);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

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

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

.page-fishing-games__faq-toggle {
  font-size: 24px;
  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: 28px;
  height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Change to X for active */
}

.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 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.page-fishing-games__faq-answer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__cta-final {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(45deg, var(--primary-color) 0%, #ffc107 100%);
  color: var(--text-dark);
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
  color: var(--text-dark);
  text-shadow: none;
}

.page-fishing-games__cta-final .page-fishing-games__section-intro {
  color: var(--text-dark);
  margin-bottom: 40px;
}

.page-fishing-games__cta-final .page-fishing-games__btn-primary {
  background: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
}

.page-fishing-games__cta-final .page-fishing-games__btn-primary:hover {
  background: #6a0000;
  border-color: #6a0000;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__feature-grid, .page-fishing-games__game-grid, .page-fishing-games__promotion-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* Mobile: Adjust based on fixed header height */
    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__hero-section {
    padding: 60px 15px;
    padding-top: 100px; /* Mobile: Adjust based on fixed header height */
  }
  .page-fishing-games__main-title {
    font-size: 2em;
  }
  .page-fishing-games__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 1em;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__feature-item, .page-fishing-games__game-card, .page-fishing-games__promotion-card {
    padding: 20px;
  }
  .page-fishing-games__feature-heading {
    font-size: 1.3em;
  }
  .page-fishing-games__game-image, .page-fishing-games__promotion-image {
    height: 180px;
  }
  .page-fishing-games__game-title, .page-fishing-games__promotion-title {
    font-size: 1.2em;
    margin: 15px 0 8px 0;
  }
  .page-fishing-games__game-description, .page-fishing-games__promotion-description {
    font-size: 0.9em;
    padding: 0 0 15px 0;
  }
  .page-fishing-games__game-card .page-fishing-games__btn-primary,
  .page-fishing-games__promotion-card .page-fishing-games__btn-primary {
    width: 100%;
    margin: 0;
  }
  .page-fishing-games__app-content {
    flex-direction: column-reverse;
    gap: 30px;
  }
  .page-fishing-games__app-text, .page-fishing-games__app-image-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .page-fishing-games__app-benefits li {
    padding: 12px 15px;
    font-size: 0.95em;
  }
  .page-fishing-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .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__cta-final {
    padding: 60px 15px;
  }
}

/* Ensure all images are responsive */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all video elements are responsive */
.page-fishing-games video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .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__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__app-text,
  .page-fishing-games__app-image-wrapper,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
}