/* style/fishing-games.css */

/* Variables for colors */
:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --page-bg: #0A0A0A; /* Matches body background from shared.css */
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --primary-color-rgb: 242, 193, 78; /* Added for rgba usage */
}

/* Base styles for the page content */
.page-fishing-games {
  background-color: var(--page-bg);
  color: var(--text-main); /* Light text on dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add some padding at the bottom */
}

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

.page-fishing-games__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__section:last-of-type {
  border-bottom: none;
}

.page-fishing-games__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-fishing-games__text-block {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width for flex item */
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(242, 193, 78, 0.3);
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--text-main);
}

/* CTA Button */
.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff; /* White text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
  border: none;
}

.page-fishing-games__cta-button:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
}

/* Secondary Button */
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  margin-left: 20px;
}

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--page-bg); /* Dark text on primary background */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(255, 211, 107, 0.3);
  border: none;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(255, 211, 107, 0.5);
}

/* Card styles */
.page-fishing-games__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-color);
}

/* Feature Grid */
.page-fishing-games__feature-grid,
.page-fishing-games__game-list,
.page-fishing-games__promo-list,
.page-fishing-games__info-grid,
.page-fishing-games__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__feature-item,
.page-fishing-games__game-item,
.page-fishing-games__promo-item,
.page-fishing-games__info-item {
  text-align: center;
}

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

.page-fishing-games__game-showcase .page-fishing-games__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
}

/* Strategy Tips */
.page-fishing-games__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__tip-item {
  text-align: left;
}

.page-fishing-games__tip-title {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

/* How To Play */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-item {
  text-align: center;
}

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

/* Mobile Experience */
.page-fishing-games__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__mobile-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-fishing-games__mobile-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.page-fishing-games__mobile-features li {
  font-size: 17px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--text-main);
}

.page-fishing-games__mobile-features li strong {
  color: var(--secondary-color);
}

.page-fishing-games__mobile-features li::before {
  content: '✔';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-fishing-games__mobile-image {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  text-align: center;
}

.page-fishing-games__mobile-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 211, 107, 0.5);
  object-fit: contain; /* Use contain to prevent cropping on mobile screenshots */
}

/* Support & Payment */
.page-fishing-games__info-item {
  text-align: left;
}

/* Blog Section */
.page-fishing-games__blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  text-align: left;
}

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

.page-fishing-games__blog-excerpt {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-fishing-games__blog-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-top: auto; /* Push to bottom of card */
}

.page-fishing-games__blog-archive-button {
  text-align: center;
  margin-top: 40px;
}

.page-fishing-games__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* FAQ styles (details + summary based on prompt) */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px; /* Increased border-radius */
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg); /* Card background color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: rgba(var(--primary-color-rgb), 0.1); /* Slight hover effect with primary color */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px; /* Slightly larger font */
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color); /* Primary color for question text */
}
.page-fishing-games__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: var(--secondary-color); /* Secondary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px; /* Slightly larger width */
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #1a1a1a; /* Slightly lighter dark background for answer */
  border-radius: 0 0 10px 10px; /* Match item border-radius */
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
}
.page-fishing-games__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* General image styling for content areas */
.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 16px;
  }

  /* Hero Section Mobile */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Keep small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }
  .page-fishing-games__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-primary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    margin-left: 0 !important; /* Remove margin-left for secondary button */
  }
  .page-fishing-games__button-group {
    flex-direction: column;
    gap: 15px;
  }

  /* Grid layouts mobile */
  .page-fishing-games__feature-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promo-list,
  .page-fishing-games__info-grid,
  .page-fishing-games__blog-grid,
  .page-fishing-games__tip-list,
  .page-fishing-games__step-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__info-title,
  .page-fishing-games__tip-title,
  .page-fishing-games__step-title,
  .page-fishing-games__blog-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .page-fishing-games__mobile-content {
    flex-direction: column;
  }
  .page-fishing-games__mobile-text,
  .page-fishing-games__mobile-image {
    max-width: 100%;
    min-width: unset;
  }
  .page-fishing-games__mobile-features li {
    font-size: 16px;
  }

  /* FAQ Mobile */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question { padding: 15px; }
  .page-fishing-games__faq-qtext { font-size: 16px; }
  .page-fishing-games__faq-toggle { font-size: 24px; width: 24px; }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* All content images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .page-fishing-games__cta-button,
  .page-fishing-games__btn-secondary {
    padding: 10px 15px !important;
    font-size: 15px !important;
  }
}