/* style/fishing-games-strategy.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-color-dark-bg: #ffffff;
    --text-color-light-bg: #333333;
    --background-dark: #121212;
    --background-light: #f8f9fa;
    --card-background-dark-mode: rgba(255, 255, 255, 0.1);
    --card-background-light-mode: #ffffff;
    --border-color: #e0e0e0;
}

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

/* 🚨 Desktop video section styles (must be strictly adhered to) */
.page-fishing-games-strategy__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 according to actual navigation bar height */
  background-color: var(--background-dark);
}

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

/* 🚨 Video click link style (must be strictly adhered to) */
.page-fishing-games-strategy__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-strategy__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games-strategy__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio - 🚨 PageSpeed optimization: fixed aspect ratio to prevent layout shifts (CLS) */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-strategy__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 events */
}

/* 🚨 Video click hint overlay style (optional, enhances user experience) */
.page-fishing-games-strategy__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-strategy__video-link:hover .page-fishing-games-strategy__video-overlay {
  opacity: 1;
}

.page-fishing-games-strategy__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;
}

/* 🚨 Play Now button style (must be strictly adhered to, located below the video in the center) */
.page-fishing-games-strategy__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-fishing-games-strategy__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color, #007bff);
  color: #ffffff;
  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-strategy__play-now-button:hover {
  background: var(--secondary-color, #0056b3);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games-strategy__hero-section {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-color-dark-bg);
    padding-top: 10px; /* Adjusted for video section above, if no video this would be higher */
}

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

.page-fishing-games-strategy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-fishing-games-strategy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-fishing-games-strategy__cta-buttons--center {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-fishing-games-strategy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games-strategy__btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games-strategy__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-color-light-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games-strategy__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-fishing-games-strategy__text-block {
    margin-bottom: 40px;
    background-color: var(--card-background-light-mode);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games-strategy__text-block p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-fishing-games-strategy__list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-fishing-games-strategy__list li {
    margin-bottom: 10px;
}

.page-fishing-games-strategy__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games-strategy__fish-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: var(--card-background-light-mode);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games-strategy__fish-table th,
.page-fishing-games-strategy__fish-table td {
    border: 1px solid var(--border-color);
    padding: 15px;
    text-align: left;
    font-size: 1.05em;
}

.page-fishing-games-strategy__fish-table th {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    font-weight: bold;
}

.page-fishing-games-strategy__fish-table tbody tr:nth-child(even) {
    background-color: #f0f8ff;
}

.page-fishing-games-strategy__fish-table tbody tr:hover {
    background-color: #e6f7ff;
}

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

.page-fishing-games-strategy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: var(--card-background-light-mode);
  color: var(--text-color-light-bg);
}

.page-fishing-games-strategy__faq-item.active .page-fishing-games-strategy__faq-answer {
  max-height: 2000px !important; /* 🚨 Use !important to ensure priority, value large enough to accommodate any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

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

.page-fishing-games-strategy__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-fishing-games-strategy__faq-question:active {
  background: #eeeeee;
}

.page-fishing-games-strategy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 tag from blocking click events */
  color: var(--text-color-light-bg);
}

.page-fishing-games-strategy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click events */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-fishing-games-strategy__faq-item.active .page-fishing-games-strategy__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games-strategy__main-title {
        font-size: 2.8em;
    }
    .page-fishing-games-strategy__section-title {
        font-size: 2em;
    }
    .page-fishing-games-strategy__text-block p, .page-fishing-games-strategy__list li {
        font-size: 1em;
    }
    .page-fishing-games-strategy__fish-table th, .page-fishing-games-strategy__fish-table td {
        padding: 12px;
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games-strategy {
        padding-top: 100px !important; /* Mobile: Adjust according to actual mobile navigation bar height */
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* 🚨 Mobile video section styles (must be strictly adhered to) */
    .page-fishing-games-strategy__video-section {
      padding-top: 10px !important; /* Mobile: Adjust according to actual mobile navigation bar 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-strategy__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-strategy__video-link {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
    
    .page-fishing-games-strategy__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      border-radius: 4px;
      overflow: hidden !important;
    }
    
    .page-fishing-games-strategy__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      border-radius: 4px;
      object-fit: contain; /* Use contain to ensure video is fully displayed without cropping */
    }
    
    /* 🚨 Play Now button mobile responsive adaptation (must be strictly adhered to) */
    .page-fishing-games-strategy__video-cta {
      margin-top: 20px;
      padding-left: 15px;
      padding-right: 15px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
    
    .page-fishing-games-strategy__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-strategy__video-click-hint {
      font-size: 14px !important;
      padding: 8px 16px !important;
    }

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

    .page-fishing-games-strategy__hero-section {
        padding: 40px 15px;
    }

    .page-fishing-games-strategy__main-title {
        font-size: 2em;
    }

    .page-fishing-games-strategy__hero-description {
        font-size: 1em;
    }

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

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

    .page-fishing-games-strategy__content-section {
        padding: 40px 0;
    }

    .page-fishing-games-strategy__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .page-fishing-games-strategy__text-block {
        padding: 20px;
        margin-bottom: 30px;
    }

    .page-fishing-games-strategy__text-block p, .page-fishing-games-strategy__list li {
        font-size: 0.95em;
    }

    .page-fishing-games-strategy__fish-table {
        margin: 20px 0;
    }

    .page-fishing-games-strategy__fish-table th,
    .page-fishing-games-strategy__fish-table td {
        padding: 10px;
        font-size: 0.9em;
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    .page-fishing-games-strategy__fish-table th:first-child, .page-fishing-games-strategy__fish-table td:first-child {
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    .page-fishing-games-strategy__fish-table th:last-child, .page-fishing-games-strategy__fish-table td:last-child {
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
    .page-fishing-games-strategy__fish-table tbody tr {
        margin-bottom: 20px;
        display: block;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden;
    }
    .page-fishing-games-strategy__fish-table tbody tr:nth-child(even) {
        background-color: #f0f8ff;
    }
    .page-fishing-games-strategy__fish-table thead {
        display: none;
    }
    .page-fishing-games-strategy__fish-table td:before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
        color: var(--primary-color);
    }

    .page-fishing-games-strategy__faq-question {
      padding: 15px;
      flex-wrap: wrap;
    }
    
    .page-fishing-games-strategy__faq-question h3 {
      font-size: 1em;
      margin-bottom: 0;
      width: calc(100% - 40px);
    }
    
    .page-fishing-games-strategy__faq-toggle {
      margin-left: 10px;
      width: 24px;
      height: 24px;
      font-size: 20px;
    }
    
    .page-fishing-games-strategy__faq-answer {
      padding: 0 15px;
    }
    
    .page-fishing-games-strategy__faq-item.active .page-fishing-games-strategy__faq-answer {
      padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games-strategy__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games-strategy__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games-strategy__hero-description {
        font-size: 0.95em;
    }
}