/* style/fishing-games.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A202C; /* Midnight Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000000;
  --background-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark);
  padding-top: 120px; /* Desktop: Ensure content is below fixed header */
}

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

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

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: var(--text-light);
}

.page-fishing-games__dark-section {
  background-color: var(--secondary-color);
  padding: 80px 0;
  color: var(--text-light);
}

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

/* Ensure text contrast for light background sections */
.page-fishing-games__text-contrast-fix {
  color: var(--text-dark) !important;
}

.page-fishing-games a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games a:hover {
  color: #ffd700;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

.page-fishing-games__btn-primary:hover {
  background: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px 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(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card {
  background: var(--card-bg-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

.page-fishing-games__light-bg .page-fishing-games__card {
  background: var(--card-bg-light);
  color: var(--text-dark);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

/* Video Section Styles */
.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 for fixed header */
  background-color: var(--background-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.2);
}

.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.15);
}

.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; /* Prevent video controls from blocking click event on parent <a> */
}

.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.3);
  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(0, 123, 255, 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(--secondary-color);
  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.15);
  border: none;
  cursor: pointer;
}

.page-fishing-games__play-now-button:hover {
  background: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  padding: 80px 0;
}

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

.page-fishing-games__description {
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--text-light);
}

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

.page-fishing-games__feature-item {
  text-align: center;
  padding: 30px;
  border: 1px solid var(--border-color);
}

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

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

.page-fishing-games__feature-text {
  font-size: 1em;
  color: var(--text-light);
}

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

.page-fishing-games__game-card {
  text-align: center;
  padding: 25px;
  border: 1px solid var(--border-color);
}

.page-fishing-games__light-bg .page-fishing-games__game-card {
  border: 1px solid #e0e0e0;
}

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

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

.page-fishing-games__light-bg .page-fishing-games__game-title {
  color: var(--secondary-color);
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.page-fishing-games__game-button {
  padding: 10px 25px;
  font-size: 1em;
  border-radius: 5px;
}

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

.page-fishing-games__step-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-fishing-games__step-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-fishing-games__step-text {
  font-size: 1em;
  color: var(--text-light);
}

/* Tips Section */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__tips-list li {
  background: var(--card-bg-light);
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-fishing-games__tips-list li strong {
  color: var(--secondary-color);
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 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 {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.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-light);
  background: rgba(255, 255, 255, 0.03);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid var(--border-color);
}

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

.page-fishing-games__brand-item {
  text-align: center;
  padding: 30px;
  border: 1px solid #e0e0e0;
}

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

.page-fishing-games__brand-subtitle {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__brand-text {
  font-size: 1em;
  color: var(--text-dark);
}

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

.page-fishing-games__blog-item {
  text-align: left;
  padding: 25px;
  border: 1px solid var(--border-color);
}

.page-fishing-games__blog-link {
  display: block;
  color: inherit;
}

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

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

.page-fishing-games__blog-item-excerpt {
  font-size: 0.95em;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-fishing-games__blog-item-date {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2.5em;
  }
  .page-fishing-games__main-title {
    font-size: 3em;
  }
  .page-fishing-games__description {
    font-size: 1.1em;
  }
  .page-fishing-games__feature-title, .page-fishing-games__brand-subtitle, .page-fishing-games__game-title, .page-fishing-games__step-title, .page-fishing-games__blog-item-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 15px;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__main-title {
    font-size: 2.5em;
  }
  .page-fishing-games__description {
    font-size: 1em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-fishing-games__cta-button, .page-fishing-games__play-now-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    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__video-click-hint {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }

  .page-fishing-games__hero-section, .page-fishing-games__features-section, .page-fishing-games__popular-games-section, .page-fishing-games__guide-section, .page-fishing-games__tips-section, .page-fishing-games__faq-section, .page-fishing-games__brand-intro-section, .page-fishing-games__blog-section {
    padding: 50px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__features-grid, .page-fishing-games__games-grid, .page-fishing-games__guide-steps, .page-fishing-games__brand-content, .page-fishing-games__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-item, .page-fishing-games__game-card, .page-fishing-games__step-item, .page-fishing-games__brand-item, .page-fishing-games__blog-item {
    padding: 20px;
  }
  .page-fishing-games__feature-image, .page-fishing-games__game-image, .page-fishing-games__brand-image, .page-fishing-games__blog-image {
    height: 150px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    object-fit: cover;
  }
  .page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 1em;
  }
  .page-fishing-games__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }
  .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__tips-list li {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !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;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__main-title {
    font-size: 2em;
  }
  .page-fishing-games__description {
    font-size: 0.95em;
  }
  .page-fishing-games__feature-title, .page-fishing-games__brand-subtitle, .page-fishing-games__game-title, .page-fishing-games__step-title, .page-fishing-games__blog-item-title {
    font-size: 1.4em;
  }
  .page-fishing-games__cta-button, .page-fishing-games__play-now-button {
    padding: 10px 20px !important;
    font-size: 0.9em !important;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 0.9em;
  }
}