/* style/fishing-games.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #000080;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
}

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

/* ==================================================================
   Video Section Styles (Homepage Specific)
   ================================================================== */
.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: linear-gradient(135deg, var(--secondary-color), #000040);
  border-bottom: 5px solid var(--primary-color);
}

.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: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background-color: #000;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevent 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: 12px;
  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-light);
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding: 12px 25px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__play-now-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--secondary-color); /* Dark text on gold button for contrast */
  text-decoration: none;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-fishing-games__play-now-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

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

/* ==================================================================
   General Section & Container Styles
   ================================================================== */
.page-fishing-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__content-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-fishing-games__section-title {
  font-size: 3.2em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 50px;
  color: var(--text-light);
}

/* ==================================================================
   Title Section (H1 + CTA) Styles
   ================================================================== */
.page-fishing-games__title-section {
  padding: 60px 0;
  text-align: center;
  background: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games__title-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__main-title {
  font-size: 3.8em;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__title-description {
  font-size: 1.3em;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 16px 35px;
  font-size: 1.15em;
  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-transform: uppercase;
  letter-spacing: 0.8px;
}

.page-fishing-games__btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color); /* Dark text on gold button for contrast */
  border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  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(--secondary-color); /* Dark text on gold button for contrast */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ==================================================================
   Grid Layout for Features/Benefits
   ================================================================== */
.page-fishing-games__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__card {
  background: rgba(255, 255, 255, 0.08); /* Light transparent background on dark body */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--text-light);
}

.page-fishing-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: cover;
}

.page-fishing-games__card-title {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-fishing-games__card-description {
  font-size: 1em;
  line-height: 1.7;
  color: #c0c0c0;
}

/* ==================================================================
   Benefits List Styles
   ================================================================== */
.page-fishing-games__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__benefits-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--primary-color);
  color: var(--text-light);
  transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__benefits-description {
  font-size: 1em;
  line-height: 1.7;
  color: #c0c0c0;
}

/* ==================================================================
   Steps List (Ordered List) Styles
   ================================================================== */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
  margin-top: 50px;
}

.page-fishing-games__steps-item {
  background: rgba(0, 0, 0, 0.3); /* Darker background for steps on dark blue section */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  color: var(--text-light);
  transition: background-color 0.3s ease;
}

.page-fishing-games__steps-item:hover {
  background: rgba(0, 0, 0, 0.4);
}

.page-fishing-games__steps-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-color);
  color: var(--secondary-color); /* Dark text on gold */
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--secondary-color);
}

.page-fishing-games__steps-title {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding-top: 20px; /* Space for step number */
}

.page-fishing-games__steps-description {
  font-size: 1em;
  line-height: 1.7;
  color: #c0c0c0;
}

/* ==================================================================
   FAQ Section Styles
   ================================================================== */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.08);
  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, 255, 255, 0.15);
}

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  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: 20px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(180deg);
  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;
  background: rgba(0, 0, 0, 0.3);
  color: #c0c0c0;
}

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

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: #c0c0c0;
}

/* ==================================================================
   Brand Section Styles
   ================================================================== */
.page-fishing-games__brand-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

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

.page-fishing-games__brand-item {
  background: rgba(0, 0, 0, 0.3); /* Darker background for items on dark blue section */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__brand-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__brand-image {
  max-width: 150px;
  height: auto;
  margin-bottom: 25px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: contain;
}

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

.page-fishing-games__brand-item-description {
  font-size: 1em;
  line-height: 1.7;
  color: #c0c0c0;
}

/* ==================================================================
   Blog Section Styles
   ================================================================== */
.page-fishing-games__blog-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.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 {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-fishing-games__blog-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.page-fishing-games__blog-item-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__blog-item-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--primary-color);
  padding: 20px 25px 10px;
  line-height: 1.4;
}

.page-fishing-games__blog-item-excerpt {
  font-size: 0.95em;
  color: #c0c0c0;
  padding: 0 25px 15px;
  line-height: 1.6;
}

.page-fishing-games__blog-item-date {
  display: block;
  font-size: 0.85em;
  color: #888;
  padding: 0 25px 20px;
  text-align: right;
}

/* ==================================================================
   Responsive Design
   ================================================================== */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .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: 8px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    object-fit: contain;
  }
  
  .page-fishing-games__video-cta {
    margin-top: 25px;
    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: 15px 30px !important;
    font-size: 18px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-fishing-games__video-click-hint {
    font-size: 16px !important;
    padding: 10px 20px !important;
  }

  .page-fishing-games__content-section {
    padding: 50px 0;
  }

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

  .page-fishing-games__main-title {
    font-size: 2.5em;
    margin-bottom: 20px;
  }

  .page-fishing-games__title-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

  .page-fishing-games__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 1em;
    margin-bottom: 40px;
  }

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

  .page-fishing-games__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 14px 25px;
    font-size: 1em;
  }

  .page-fishing-games__grid-layout,
  .page-fishing-games__benefits-list,
  .page-fishing-games__steps-list,
  .page-fishing-games__brand-content,
  .page-fishing-games__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card,
  .page-fishing-games__benefits-item,
  .page-fishing-games__steps-item,
  .page-fishing-games__brand-item,
  .page-fishing-games__blog-item {
    padding: 25px;
    border-radius: 8px;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__benefits-title,
  .page-fishing-games__steps-title,
  .page-fishing-games__brand-item-title {
    font-size: 1.4em;
  }

  .page-fishing-games__card-image,
  .page-fishing-games__brand-image,
  .page-fishing-games__blog-item-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  
  .page-fishing-games__faq-question {
    padding: 15px 20px;
  }
  
  .page-fishing-games__faq-question h3 {
    font-size: 1.1em;
  }
  
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  
  .page-fishing-games__faq-answer {
    padding: 0 20px;
  }
  
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }

  .page-fishing-games__blog-item-title {
    font-size: 1.3em;
    padding: 15px 20px 8px;
  }
  .page-fishing-games__blog-item-excerpt,
  .page-fishing-games__blog-item-date {
    padding: 0 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 2em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__cta-button {
    font-size: 0.95em;
    padding: 12px 20px;
  }
  .page-fishing-games__play-now-button {
    font-size: 16px !important;
    padding: 12px 25px !important;
  }
}