/* style/fishing-games.css */

/* Base Styles */
.page-fishing-games {
  color: #f0f0f0; /* Light text for dark background */
  background-color: var(--dark-bg-1);
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
  padding-top: 80px; /* Adjust for fixed header */
}

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

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

.page-fishing-games__section:nth-of-type(even) {
  background-color: var(--dark-bg-2); /* Slightly different dark background */
}

.page-fishing-games__section-title {
  font-size: 36px;
  color: #FFD700; /* Gold color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__inline-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-fishing-games__inline-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Buttons */
.page-fishing-games__btn {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000000; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-fishing-games__btn:hover {
  background-color: #fff;
  color: #8B0000; /* Red text on hover */
  transform: translateY(-3px);
}

.page-fishing-games__btn--small {
  padding: 10px 20px;
  font-size: 16px;
}

.page-fishing-games__btn--large {
  padding: 18px 35px;
  font-size: 20px;
}

/* Hero Banner */
.page-fishing-games__hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark-bg-1) 0%, #8B0000 100%); /* Dark gradient */
  min-height: 500px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__hero-content {
  flex: 1;
  padding-left: 5%;
  max-width: 50%;
  z-index: 1;
}

.page-fishing-games__hero-title {
  font-size: 52px;
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-fishing-games__hero-btn {
  background-color: #FFD700;
  color: #000000;
  padding: 18px 40px;
  font-size: 22px;
  border-radius: 50px;
  text-transform: uppercase;
}

.page-fishing-games__hero-btn:hover {
  background-color: #fff;
  color: #8B0000;
  transform: translateY(-5px);
}

.page-fishing-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 50%;
  padding-right: 5%;
}

.page-fishing-games__hero-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Image Content */
.page-fishing-games__image-content {
  text-align: center;
  margin: 40px 0;
}

.page-fishing-games__image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

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

.page-fishing-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-card img {
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__card-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__feature-card p {
  font-size: 16px;
  color: #e0e0e0;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

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

/* Lists */
.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
  font-size: 17px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-fishing-games__ordered-list li strong,
.page-fishing-games__unordered-list li strong {
  color: #FFD700;
}

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

.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__promo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* Call to Action */
.page-fishing-games__call-to-action {
  text-align: center;
  background: linear-gradient(90deg, #8B0000, var(--dark-bg-1));
  padding: 80px 0;
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
  color: #FFD700;
}

.page-fishing-games__call-to-action .page-fishing-games__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 18px;
}

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

.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;
  color: #e0e0e0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  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: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.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: #FFD700;
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: #fff;
  transform: rotate(45deg); /* Change to X or rotate */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 44px;
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
  .page-fishing-games__hero-btn {
    font-size: 20px;
    padding: 15px 35px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__feature-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-fishing-games__game-card img,
  .page-fishing-games__promo-card img {
    height: 160px;
  }
}

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

  .page-fishing-games__container {
    padding: 30px 15px;
  }

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

  .page-fishing-games__hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
    min-height: auto;
  }

  .page-fishing-games__hero-content {
    max-width: 100%;
    padding: 0 15px;
    margin-bottom: 40px;
  }

  .page-fishing-games__hero-image-wrapper {
    max-width: 90%;
    padding-right: 0;
  }

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

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

  .page-fishing-games__hero-btn {
    font-size: 18px;
    padding: 12px 25px;
  }

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

  .page-fishing-games__text-block {
    font-size: 16px;
  }

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

  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }

  .page-fishing-games__game-card img,
  .page-fishing-games__promo-card img {
    height: 180px;
  }

  .page-fishing-games__card-title {
    font-size: 20px;
  }

  .page-fishing-games__ordered-list li,
  .page-fishing-games__unordered-list li {
    font-size: 16px;
  }

  .page-fishing-games__call-to-action {
    padding: 60px 15px;
  }

  .page-fishing-games__call-to-action .page-fishing-games__text-block {
    font-size: 16px;
  }

  .page-fishing-games__btn--large {
    font-size: 18px;
    padding: 15px 30px;
  }

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

  .page-fishing-games__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
    color: #FFD700;
  }

  .page-fishing-games__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }

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

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

/* Mobile image responsive adaptation (MUST contain) */
@media (max-width: 768px) {
  .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,
  .page-fishing-games__hero-banner,
  .page-fishing-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}