/* style/fishing-games.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000000; /* Black */
    --accent-color: #DC3545; /* Red for emphasis */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-light: #f8f9fa;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark);
    line-height: 1.6;
    padding-bottom: 50px;
}

/* 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: 120px; /* Desktop: Adjust for fixed header height */
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.8), var(--bg-dark)), url('[GALLERY:bg:u8888,fishing_games,video_background]') no-repeat center center / cover;
  border-bottom: 2px 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(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.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.4);
  border: 3px solid var(--primary-color);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  object-fit: cover;
  pointer-events: none; /* Prevent video controls from blocking click event on parent link */
}

.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.5);
  border-radius: 10px;
  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 5px rgba(0, 0, 0, 0.7);
  padding: 12px 25px;
  background: rgba(255, 215, 0, 0.8);
  border-radius: 30px;
  white-space: nowrap;
  border: 1px solid var(--text-light);
}

.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 50px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 40px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-fishing-games__play-now-button:hover {
  background: #FFC400;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

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

/* Title Section */
.page-fishing-games__title-section {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-dark);
}

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

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

.page-fishing-games__title-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.9;
}

.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: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    word-wrap: break-word;
}

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

.page-fishing-games__cta-button--primary:hover {
    background-color: #FFC400;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
}

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

.page-fishing-games__cta-button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--secondary-color);
}

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

.page-fishing-games__features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__features-title {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

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

.page-fishing-games__feature-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

.page-fishing-games__feature-icon {
    width: 150px; /* Larger size for content display, not icon */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
    border-radius: 8px;
}

.page-fishing-games__feature-card-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__feature-card-description {
    font-size: 16px;
    color: var(--text-light);
    opacity: 0.85;
}

.page-fishing-games__cta-buttons--centered {
  margin-top: 50px;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
    text-align: center;
}

.page-fishing-games__guide-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__guide-title {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

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

.page-fishing-games__guide-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-fishing-games__guide-image {
    width: 250px; /* Large image for content */
    height: auto;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__guide-item-title {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__guide-item-description {
    font-size: 16px;
    color: var(--text-light);
    opacity: 0.85;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-fishing-games__guide-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 3px 8px rgba(220, 53, 69, 0.4);
    border: none;
    white-space: nowrap;
    word-wrap: break-word;
}

.page-fishing-games__guide-button:hover {
    background-color: #C82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(220, 53, 69, 0.6);
}

/* Brand Section */
.page-fishing-games__brand-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--secondary-color);
}

.page-fishing-games__brand-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__brand-title {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

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

.page-fishing-games__brand-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-fishing-games__brand-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

.page-fishing-games__brand-icon {
    width: 120px; /* Larger size for content display, not icon */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.4));
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.page-fishing-games__brand-item-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__brand-item-description {
    font-size: 16px;
    color: var(--text-light);
    opacity: 0.85;
}

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

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

.page-fishing-games__faq-main-title {
    font-size: 40px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

.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-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;
  color: var(--text-light);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 10px 10px;
}

.page-fishing-games__faq-answer p {
    color: var(--text-light);
    opacity: 0.85;
    margin: 0;
}

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

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

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

.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; /* Prevent icon from blocking click event */
  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); /* Change to X or minus */
  color: var(--accent-color);
}

/* Blog Section */
.page-fishing-games__blog-section {
    padding: 80px 20px;
    background-color: var(--secondary-color);
    text-align: center;
}

.page-fishing-games__blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__blog-title {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.2);
}

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

.page-fishing-games__blog-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

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

.page-fishing-games__blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.page-fishing-games__blog-item-title {
    font-size: 22px;
    color: var(--primary-color);
    margin: 20px 20px 10px;
    font-weight: 600;
    text-align: left;
    flex-grow: 1;
}

.page-fishing-games__blog-item-excerpt {
    font-size: 15px;
    color: var(--text-light);
    opacity: 0.85;
    margin: 0 20px 15px;
    text-align: left;
}

.page-fishing-games__blog-item-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 20px 20px;
    text-align: left;
    display: block;
}

/* General responsive styles */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-fishing-games__video-section {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header height */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__video-container,
    .page-fishing-games__video-link,
    .page-fishing-games__video-wrapper {
        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 {
        border-radius: 8px;
    }

    .page-fishing-games__video-click-hint {
        font-size: 16px;
        padding: 10px 20px;
    }

    .page-fishing-games__video-cta {
        margin-top: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__play-now-button {
        font-size: 18px;
        padding: 15px 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__title-section,
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__brand-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__blog-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__main-title {
        font-size: 36px;
    }

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

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

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

    .page-fishing-games__features-title,
    .page-fishing-games__guide-title,
    .page-fishing-games__brand-title,
    .page-fishing-games__faq-main-title,
    .page-fishing-games__blog-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__guide-content,
    .page-fishing-games__brand-content,
    .page-fishing-games__blog-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__guide-item,
    .page-fishing-games__brand-item,
    .page-fishing-games__blog-item {
        padding: 25px;
    }

    .page-fishing-games__feature-icon,
    .page-fishing-games__guide-image,
    .page-fishing-games__brand-icon {
        width: 100px; /* Adjust image size for mobile */
        height: auto;
    }

    .page-fishing-games__feature-card-title,
    .page-fishing-games__guide-item-title,
    .page-fishing-games__brand-item-title,
    .page-fishing-games__blog-item-title {
        font-size: 20px;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }

    .page-fishing-games__faq-question h3 {
        font-size: 16px;
    }

    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 25px;
        height: 25px;
    }

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }

    .page-fishing-games__blog-image {
        height: 180px;
    }

    .page-fishing-games__blog-item-title,
    .page-fishing-games__blog-item-excerpt,
    .page-fishing-games__blog-item-date {
        margin-left: 15px;
        margin-right: 15px;
    }

    /* Ensure all images and video containers are responsive */
    .page-fishing-games img,
    .page-fishing-games video,
    .page-fishing-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    .page-fishing-games__features-grid > div,
    .page-fishing-games__guide-content > div,
    .page-fishing-games__brand-content > div,
    .page-fishing-games__blog-list > article,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__title-container,
    .page-fishing-games__features-container,
    .page-fishing-games__guide-container,
    .page-fishing-games__brand-container,
    .page-fishing-games__faq-container,
    .page-fishing-games__blog-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__features-section, .page-fishing-games__guide-section, .page-fishing-games__brand-section, .page-fishing-games__faq-section, .page-fishing-games__blog-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}