/* style/fishing-games.css */

:root {
  --primary-color: #4A00B7;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-section: #1a1a1a; /* Adjusted for dark sections, assuming shared.css has a dark body */
  --bg-light-section: #f5f5f5;
  --card-bg-dark-section: rgba(255, 255, 255, 0.1);
  --card-bg-light-section: #ffffff;
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default for light backgrounds */
}

/* Ensure body background is dark, so main content text is light in dark sections */
.page-fishing-games__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  color: var(--text-light);
  background-color: var(--primary-color);
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
  position: relative;
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 1;
  position: relative;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #ffd000;
  border-color: #ffd000;
  transform: translateY(-3px);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-fishing-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: inherit;
}

.page-fishing-games__why-choose-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__game-features-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__mobile-section,
.page-fishing-games__responsible-gaming-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
  padding: 80px 0;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__step-item,
.page-fishing-games__strategy-card,
.page-fishing-games__promo-card {
  background-color: var(--card-bg-light-section);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__how-to-play-section .page-fishing-games__step-item {
  background-color: var(--card-bg-dark-section);
  color: var(--text-light);
}

.page-fishing-games__how-to-play-section .page-fishing-games__step-item a {
  color: var(--secondary-color);
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__step-item:hover,
.page-fishing-games__strategy-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-image,
.page-fishing-games__step-image,
.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-card .page-fishing-games__card-title,
.page-fishing-games__step-title,
.page-fishing-games__strategy-card .page-fishing-games__card-title,
.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__how-to-play-section .page-fishing-games__step-title {
  color: var(--secondary-color);
}

.page-fishing-games__promo-card .page-fishing-games__card-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games__promo-card .page-fishing-games__card-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__game-features-section .page-fishing-games__features-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.page-fishing-games__feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-fishing-games__feature-item--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__feature-item img {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-content {
  flex: 1;
  max-width: 50%;
}

.page-fishing-games__feature-heading {
  font-size: 2em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-fishing-games__strategy-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-top: 50px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-fishing-games__mobile-text {
  flex: 1;
}

.page-fishing-games__mobile-heading {
  font-size: 2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

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

.page-fishing-games__mobile-text li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-fishing-games__mobile-text li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
}

.page-fishing-games__mobile-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__faq-item {
  background-color: var(--card-bg-dark-section);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #5d00d8;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px 20px 25px;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
}

.page-fishing-games__cta-bottom-content {
  text-align: center;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

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

.page-fishing-games a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__feature-item {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__feature-item--reverse {
    flex-direction: column;
  }
  .page-fishing-games__feature-item img,
  .page-fishing-games__feature-content {
    max-width: 100%;
  }
  .page-fishing-games__mobile-content {
    flex-direction: column-reverse;
  }
  .page-fishing-games__mobile-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    min-height: 400px;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Important for mobile offset */
  }
  .page-fishing-games__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-fishing-games__why-choose-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__game-features-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__mobile-section,
.page-fishing-games__responsible-gaming-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 40px 0;
  }

  /* Mobile image, video, and container responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: unset;
    min-height: unset;
  }
}