/* style/fishing-games.css */

:root {
  --primary-color: #1A2E4E;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-section: #1A2E4E;
  --bg-light-section: #f4f7f6;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.2);
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default for dark body background */
  background: var(--dark-bg-1); /* Inherited from shared.css, assumed dark */
}

/* =======================================
   0. Global Reset & Base Styles
   ======================================= */
.page-fishing-games h1, .page-fishing-games h2, .page-fishing-games h3, .page-fishing-games h4, .page-fishing-games h5, .page-fishing-games h6 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--text-light);
}

.page-fishing-games p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

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

.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  /* 🚨 Desktop padding-top for fixed header */
  padding-top: 120px; 
}

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

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

.page-fishing-games__dark-section h1, .page-fishing-games__dark-section h2, .page-fishing-games__dark-section h3, .page-fishing-games__dark-section p,
.page-fishing-games__dark-section li {
  color: var(--text-light);
}

.page-fishing-games__light-bg {
  background: var(--bg-light-section);
  color: var(--text-dark);
}

.page-fishing-games__light-bg h1, .page-fishing-games__light-bg h2, .page-fishing-games__light-bg h3, .page-fishing-games__light-bg p,
.page-fishing-games__light-bg li {
  color: var(--text-dark);
}

.page-fishing-games__section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.page-fishing-games__card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-dark);
}

.page-fishing-games__card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.page-fishing-games__card p {
  color: var(--text-dark);
  flex-grow: 1;
}

.page-fishing-games__cta-button, .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary, .page-fishing-games__btn-small {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.page-fishing-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
  background: #15253b;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 5px;
  background: var(--secondary-color);
  color: var(--primary-color);
  margin-top: 15px;
}

.page-fishing-games__btn-small:hover {
  background: #e6c200;
}

/* =======================================
   1. 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;
  /* 🚨 Desktop padding-top for fixed header */
  padding-top: 10px; /* Adjust based on actual header height */
  background: var(--bg-dark-section);
}

.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-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 8px 20px 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;
}

.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(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2rem;
  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: #e6c200;
  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);
}

/* =======================================
   2. Title Section (H1 + CTA)
   ======================================= */
.page-fishing-games__title-section {
  padding: 80px 20px 60px;
  text-align: center;
  /* Removed padding-top here as video section handles it */
}

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

.page-fishing-games__main-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

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

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

/* =======================================
   3. Content Area - General Layout
   ======================================= */
.page-fishing-games__content-area {
  padding: 80px 20px;
  text-align: center;
}

.page-fishing-games__content-area h2 {
  color: var(--primary-color);
}

.page-fishing-games__content-area p {
  color: var(--text-dark);
}

.page-fishing-games__feature-grid, .page-fishing-games__game-list, .page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.page-fishing-games__feature-item, .page-fishing-games__game-item, .page-fishing-games__promo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-fishing-games__feature-image, .page-fishing-games__game-image, .page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--shadow-light);
}

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

.page-fishing-games__tip-list {
  max-width: 800px;
  margin: 40px auto 60px;
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-fishing-games__tip-list li {
  background: var(--card-bg);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 1.1rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
}

.page-fishing-games__tip-list li strong {
  color: var(--primary-color);
  margin-right: 10px;
  flex-shrink: 0;
}

.page-fishing-games__tip-list li::before {
  content: '✓';
  color: var(--secondary-color);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2rem;
  line-height: 1;
}

/* =======================================
   4. FAQ Section
   ======================================= */
.page-fishing-games__faq-section {
  padding: 80px 20px;
}

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

.page-fishing-games__faq-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-light);
}

.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  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: #f5f5f5;
  border-color: #d0d0d0;
}

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

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

.page-fishing-games__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;
  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(--primary-color);
  transform: rotate(180deg);
}

/* =======================================
   5. Brand Section
   ======================================= */
.page-fishing-games__brand-section {
  padding: 80px 20px;
}

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

.page-fishing-games__brand-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.page-fishing-games__brand-intro {
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

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

.page-fishing-games__brand-item {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__brand-item img {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-fishing-games__brand-item p {
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* =======================================
   6. Blog Section
   ======================================= */
.page-fishing-games__blog-section {
  padding: 80px 20px;
}

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

.page-fishing-games__blog-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-fishing-games__blog-intro {
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

.page-fishing-games__blog-item {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
}

.page-fishing-games__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-dark);
}

.page-fishing-games__blog-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--text-dark);
}

.page-fishing-games__blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-fishing-games__blog-item-title {
  font-size: 1.4rem;
  margin: 20px 20px 10px;
  color: var(--primary-color);
  flex-grow: 1;
}

.page-fishing-games__blog-item-excerpt {
  font-size: 0.95rem;
  margin: 0 20px 15px;
  color: #666;
}

.page-fishing-games__blog-item-date {
  font-size: 0.85rem;
  color: #999;
  margin: 0 20px 20px;
  display: block;
}

.page-fishing-games__blog-cta {
  text-align: center;
}

/* =======================================
   Responsive Design
   ======================================= */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.5rem;
  }
  .page-fishing-games__section-title, .page-fishing-games__faq-title, .page-fishing-games__brand-title, .page-fishing-games__blog-title {
    font-size: 2rem;
  }
  .page-fishing-games__feature-grid, .page-fishing-games__game-list, .page-fishing-games__promo-grid, .page-fishing-games__brand-content, .page-fishing-games__blog-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section, .page-fishing-games__video-section, .page-fishing-games__title-section, .page-fishing-games__content-area, .page-fishing-games__faq-section, .page-fishing-games__brand-section, .page-fishing-games__blog-section {
    padding: 40px 15px;
    /* 🚨 Mobile padding-top for fixed header */
    padding-top: 10px !important; /* Adjust based on actual mobile header height */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

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

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

  .page-fishing-games__cta-button, .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary, .page-fishing-games__btn-small {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__video-container, .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 {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
  }

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

  .page-fishing-games__feature-grid, .page-fishing-games__game-list, .page-fishing-games__promo-grid, .page-fishing-games__brand-content, .page-fishing-games__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__feature-image, .page-fishing-games__game-image, .page-fishing-games__promo-image {
    height: 180px;
  }

  .page-fishing-games__tip-list li {
    font-size: 1rem;
    padding: 15px;
  }

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

  .page-fishing-games__faq-question h3 {
    font-size: 1rem;
  }

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

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

  .page-fishing-games__brand-item img {
    max-width: 200px;
  }

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

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__title-section,
  .page-fishing-games__content-area,
  .page-fishing-games__faq-section,
  .page-fishing-games__brand-section,
  .page-fishing-games__blog-section,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__section-title, .page-fishing-games__faq-title, .page-fishing-games__brand-title, .page-fishing-games__blog-title {
    font-size: 1.6rem;
  }
  .page-fishing-games__play-now-button {
    font-size: 1rem !important;
    padding: 10px 20px !important;
  }
}