/* style/fishing-games.css */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

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

.page-fishing-games__dark-bg {
  background-color: #0a0a0a; /* Match body background for consistency */
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast sections */
  color: #ffffff;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-fishing-games p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly visible on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-fishing-games__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-fishing-games__card-description {
  font-size: 1rem;
  color: #ccc;
}

/* How to Play Section */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__step-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-list li strong {
  color: #26A9E0;
}

/* Strategies Section */
.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__strategy-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #f0f0f0;
  position: relative;
  padding-left: 40px;
}

.page-fishing-games__strategy-list li::before {
  content: '✓';
  color: #26A9E0;
  font-weight: 700;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Promotions Section */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-fishing-games__promo-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #f0f0f0;
  position: relative;
  padding-left: 40px;
}

.page-fishing-games__promo-list li::before {
  content: '★';
  color: #EA7C07; /* Using 'Login' color for star */
  font-weight: 700;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* App Download Section */
.page-fishing-games__app-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-fishing-games__app-mockup {
  max-width: 500px;
  margin: 40px auto 0 auto;
}

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

.page-fishing-games__feature-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-left: 50px;
  min-height: 80px; /* Ensure consistent height */
  display: flex;
  align-items: center;
}

.page-fishing-games__feature-list li::before {
  content: '◆';
  color: #26A9E0;
  font-size: 1.5rem;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

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

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-games__faq-item details {
  border: none;
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.08);
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05rem;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

  .page-fishing-games__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__section,
  .page-fishing-games__game-card,
  .page-fishing-games__step-list li,
  .page-fishing-games__strategy-list li,
  .page-fishing-games__promo-list li,
  .page-fishing-games__feature-list li,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-fishing-games__hero-description {
    font-size: 1rem;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    text-align: center;
  }

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

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

  .page-fishing-games p,
  .page-fishing-games__card-description,
  .page-fishing-games__step-list li,
  .page-fishing-games__strategy-list li,
  .page-fishing-games__promo-list li,
  .page-fishing-games__feature-list li,
  .page-fishing-games__faq-answer {
    font-size: 1rem;
  }

  .page-fishing-games__faq-item summary {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  
  /* Image and Video responsive rules */
  .page-fishing-games img,
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-fishing-games__section-title {
    font-size: 1.6rem;
  }

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