/* style/fishing-game-rules.css */

/* General Page Styles for .page-fishing-game-rules */
.page-fishing-game-rules {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1); /* Assuming --dark-bg-1 is a dark color */
}

.page-fishing-game-rules__section {
  padding: 60px 20px;
  text-align: center;
}

.page-fishing-game-rules__section--dark-bg {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background for contrast */
}

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

.page-fishing-game-rules__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-game-rules__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold color for section titles */
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-game-rules__sub-title {
  font-size: 1.8em;
  color: #DC143C; /* Red color for sub-titles */
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-fishing-game-rules p {
  font-size: 1.1em;
  margin-bottom: 1em;
  color: #f0f0f0;
}

.page-fishing-game-rules__link-inline {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-fishing-game-rules__link-inline:hover {
  color: #DC143C;
}

.page-fishing-game-rules__text-block {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: justify;
}

.page-fishing-game-rules__text-block--centered {
  text-align: center;
}

.page-fishing-game-rules__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-fishing-game-rules__list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
  font-size: 1.1em;
  color: #ffffff;
}

.page-fishing-game-rules__list li strong {
  color: #FFD700;
}

/* CTA Button Styles */
.page-fishing-game-rules__cta-button {
  display: inline-block;
  background-color: #DC143C; /* Red background */
  color: #ffffff; /* White text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #DC143C;
  cursor: pointer;
  margin-top: 20px;
}

.page-fishing-game-rules__cta-button:hover {
  background-color: #FFD700; /* Gold on hover */
  border-color: #FFD700;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-game-rules__cta-button--small {
  font-size: 1em;
  padding: 12px 25px;
}

.page-fishing-game-rules__cta-button--large {
  font-size: 1.3em;
  padding: 18px 35px;
}

/* Hero Banner Specific Styles */
.page-fishing-game-rules__hero-banner {
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.9), rgba(255, 215, 0, 0.9));
  padding-top: 120px; /* Spacing for fixed header on desktop */
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-game-rules__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  text-align: center;
}

.page-fishing-game-rules__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  font-weight: 300;
  color: #ffffff;
}

.page-fishing-game-rules__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-top: 40px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-game-rules__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Card Styles */
.page-fishing-game-rules__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-game-rules__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-game-rules__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #f0f0f0;
  border: 1px solid rgba(255, 215, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-game-rules__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-game-rules__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-fishing-game-rules__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-fishing-game-rules__card-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-fishing-game-rules__card--strategy {
  background-color: rgba(220, 20, 60, 0.1);
  border: 1px solid rgba(220, 20, 60, 0.3);
}

.page-fishing-game-rules__card--strategy .page-fishing-game-rules__card-title {
  color: #DC143C;
}

/* Promotion List Styles */
.page-fishing-game-rules__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  text-align: left;
}

.page-fishing-game-rules__promo-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  border-left: 5px solid #DC143C;
  transition: background-color 0.3s ease;
}

.page-fishing-game-rules__promo-list li:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-game-rules__promo-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-right: 20px;
  flex-shrink: 0;
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-game-rules__promo-list li p {
  margin: 0;
  font-size: 1.05em;
  color: #e0e0e0;
}

.page-fishing-game-rules__promo-list li p strong {
  color: #FFD700;
}

/* FAQ Section Styles */
.page-fishing-game-rules__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-game-rules__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-fishing-game-rules__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  text-align: left;
}

.page-fishing-game-rules__faq-item.active .page-fishing-game-rules__faq-answer {
  max-height: 2000px !important; /* !important to ensure it overrides */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 5px 5px;
}

.page-fishing-game-rules__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.15);
  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;
  color: #ffffff;
}

.page-fishing-game-rules__faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFD700;
}

.page-fishing-game-rules__faq-question:active {
  background: rgba(255, 255, 255, 0.25);
}

.page-fishing-game-rules__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

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

.page-fishing-game-rules__faq-item.active .page-fishing-game-rules__faq-toggle {
  color: #DC143C;
  transform: rotate(45deg); /* Changed to rotate for a cross effect */
}

/* Conclusion Section */
.page-fishing-game-rules__conclusion {
  padding-top: 60px;
  padding-bottom: 60px;
}

/* Image Responsive Styles */
.page-fishing-game-rules img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-game-rules__image-full-width {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-game-rules__main-title {
    font-size: 2.8em;
  }

  .page-fishing-game-rules__section-title {
    font-size: 2em;
  }

  .page-fishing-game-rules__sub-title {
    font-size: 1.6em;
  }

  .page-fishing-game-rules__hero-description,
  .page-fishing-game-rules p,
  .page-fishing-game-rules__list li,
  .page-fishing-game-rules__card-text {
    font-size: 1em;
  }

  .page-fishing-game-rules__grid-3-cols,
  .page-fishing-game-rules__grid-2-cols {
    grid-template-columns: 1fr;
  }

  .page-fishing-game-rules__promo-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-fishing-game-rules__card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-fishing-game-rules__hero-banner {
    padding-top: 100px !important; /* Spacing for fixed header on mobile */
    padding-bottom: 40px;
  }

  .page-fishing-game-rules__section {
    padding: 40px 15px;
  }

  .page-fishing-game-rules__main-title {
    font-size: 2.2em;
  }

  .page-fishing-game-rules__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-fishing-game-rules__sub-title {
    font-size: 1.4em;
  }

  .page-fishing-game-rules p,
  .page-fishing-game-rules__list li,
  .page-fishing-game-rules__card-text {
    font-size: 0.95em;
  }

  .page-fishing-game-rules__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-fishing-game-rules__card {
    padding: 20px;
  }

  .page-fishing-game-rules__card-image {
    height: 180px;
  }

  .page-fishing-game-rules__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-game-rules__promo-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-fishing-game-rules__promo-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  /* FAQ Mobile Styles */
  .page-fishing-game-rules__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-fishing-game-rules__faq-question h3 {
    font-size: 1.1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-fishing-game-rules__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-fishing-game-rules__faq-answer {
    padding: 0 15px;
  }
  
  .page-fishing-game-rules__faq-item.active .page-fishing-game-rules__faq-answer {
    padding: 15px !important;
  }

  /* Force images and containers to fit screen on mobile */
  .page-fishing-game-rules img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-game-rules__section,
  .page-fishing-game-rules__card,
  .page-fishing-game-rules__container,
  .page-fishing-game-rules__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}