/* style/fishing-games.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-bg-dark-mode: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Inherits from body/shared.css */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

.page-fishing-games__section {
  padding: 60px 0;
}

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

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-fishing-games__text-block {
  font-size: 18px;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Override initial padding-top for hero section */
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__description {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-color-dark-bg);
}

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

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

.page-fishing-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__hero-image-wrapper {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Game Grid */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  background: var(--background-dark);
  color: var(--text-color-dark-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-fishing-games__game-card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-fishing-games__game-card-description {
  font-size: 16px;
  padding: 0 20px;
  margin-bottom: 25px;
}

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

.page-fishing-games__guide-item {
  background: var(--card-bg-dark-mode);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__guide-item p {
  font-size: 16px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__guide-item a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-fishing-games__guide-item a:hover {
    color: var(--primary-color);
}

.page-fishing-games__center-button {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

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

.page-fishing-games__feature-item {
  background: #ffffff;
  color: var(--text-color-light-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-fishing-games__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-fishing-games__feature-item p {
  font-size: 16px;
  color: var(--text-color-light-bg);
}

/* Promo Grid */
.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__promo-card {
  background: var(--card-bg-dark-mode);
  color: var(--text-color-dark-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-fishing-games__promo-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-fishing-games__promo-description {
  font-size: 16px;
  padding: 0 20px;
  margin-bottom: 25px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  color: var(--text-color-light-bg);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background: #f5f5f5;
}

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

.page-fishing-games__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-fishing-games__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: var(--text-color-light-bg);
}

.page-fishing-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
    color: #0056b3;
}

/* Brand Section */
.page-fishing-games__brand-section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__brand-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__brand-item {
  margin-bottom: 30px;
  text-align: left;
  background: var(--card-bg-dark-mode);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__brand-item p {
  font-size: 16px;
  color: var(--text-color-dark-bg);
}

/* Blog Section */
.page-fishing-games__blog-section {
  padding: 60px 0;
}

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

.page-fishing-games__blog-item {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-fishing-games__blog-link {
  text-decoration: none;
  display: block;
  color: var(--text-color-light-bg);
}

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

.page-fishing-games__blog-item-title {
  font-size: 22px;
  font-weight: bold;
  padding: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-fishing-games__blog-item-excerpt {
  font-size: 16px;
  padding: 0 20px 15px 20px;
  color: #555;
}

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

.page-fishing-games__center-button-wrapper {
    text-align: center;
}

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

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }

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

  .page-fishing-games__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

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

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

  .page-fishing-games__text-block {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .page-fishing-games__game-grid, 
  .page-fishing-games__guide-steps, 
  .page-fishing-games__features-grid, 
  .page-fishing-games__promo-grid, 
  .page-fishing-games__blog-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-card, 
  .page-fishing-games__guide-item, 
  .page-fishing-games__feature-item, 
  .page-fishing-games__promo-card, 
  .page-fishing-games__blog-item {
    padding-bottom: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__game-card-image, 
  .page-fishing-games__promo-image, 
  .page-fishing-games__blog-item-image {
    height: 180px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__game-card-title, 
  .page-fishing-games__promo-title, 
  .page-fishing-games__blog-item-title {
    font-size: 20px;
    padding: 15px 15px 5px 15px;
  }

  .page-fishing-games__game-card-description, 
  .page-fishing-games__promo-description, 
  .page-fishing-games__blog-item-excerpt {
    font-size: 14px;
    padding: 0 15px;
  }

  .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: 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__brand-item {
    padding: 20px;
  }

  .page-fishing-games__brand-subtitle {
    font-size: 20px;
  }

  .page-fishing-games__blog-item-date {
    padding: 0 15px 15px 15px;
  }

  .page-fishing-games__center-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-image-wrapper {
    margin-top: 20px;
    border-radius: 8px;
  }

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