/* style/fishing-games.css */

/* Custom Colors */
:root {
  --rr99-primary: #11A84E;
  --rr99-secondary: #22C768;
  --rr99-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --rr99-card-bg: #11271B;
  --rr99-background: #08160F;
  --rr99-text-main: #F2FFF6;
  --rr99-text-secondary: #A7D9B8;
  --rr99-border: #2E7A4E;
  --rr99-glow: #57E38D;
  --rr99-gold: #F2C14E;
  --rr99-divider: #1E3A2A;
  --rr99-deep-green: #0A4B2C;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--rr99-text-main);
  background-color: var(--rr99-background);
  line-height: 1.6;
}

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

/* Sections */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--rr99-background);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for large screens */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up slightly over image bottom */
  background: rgba(8, 22, 15, 0.7); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border: 1px solid var(--rr99-border);
}

.page-fishing-games__main-title {
  color: var(--rr99-gold);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__description {
  font-size: 1.1em;
  color: var(--rr99-text-secondary);
  margin-bottom: 30px;
}

.page-fishing-games__section-title {
  color: var(--rr99-gold);
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__text-block {
  color: var(--rr99-text-main);
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

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

.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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--rr99-button-gradient);
  color: #ffffff;
  border: 2px solid var(--rr99-primary);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--rr99-gold);
  color: var(--rr99-background);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* General Section Styles */
.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__strategies-section,
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--rr99-background);
  color: var(--rr99-text-main);
}

.page-fishing-games__why-choose-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  background-color: var(--rr99-deep-green);
  color: var(--rr99-text-main);
}

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

.page-fishing-games__card {
  background-color: var(--rr99-card-bg);
  border: 1px solid var(--rr99-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  color: var(--rr99-text-main);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__card-title {
  color: var(--rr99-gold);
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__card-text {
  color: var(--rr99-text-secondary);
  font-size: 0.95em;
  line-height: 1.6;
}

/* Feature List */
.page-fishing-games__feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-fishing-games__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  background-color: var(--rr99-card-bg);
  border: 1px solid var(--rr99-border);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  min-width: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--rr99-gold);
  padding: 5px;
}

.page-fishing-games__feature-content {
  flex-grow: 1;
}

.page-fishing-games__feature-heading {
  color: var(--rr99-gold);
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-fishing-games__feature-text {
  color: var(--rr99-text-secondary);
  font-size: 1em;
  line-height: 1.6;
}

/* Steps List */
.page-fishing-games__steps-list,
.page-fishing-games__tips-list,
.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__steps-list li,
.page-fishing-games__tips-list li,
.page-fishing-games__promotion-list li {
  background-color: var(--rr99-card-bg);
  border: 1px solid var(--rr99-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.page-fishing-games__step-title,
.page-fishing-games__tip-title,
.page-fishing-games__promo-title {
  color: var(--rr99-gold);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-fishing-games__step-text,
.page-fishing-games__tip-text,
.page-fishing-games__promo-text {
  color: var(--rr99-text-secondary);
  font-size: 1em;
  line-height: 1.6;
}

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

.page-fishing-games__faq-item {
  background-color: var(--rr99-card-bg);
  border: 1px solid var(--rr99-border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.page-fishing-games__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--rr99-gold);
  font-size: 1.15em;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide marker for Webkit browsers */
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--rr99-gold);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--rr99-text-secondary);
  font-size: 1em;
  line-height: 1.6;
}

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

/* Dark and Light Backgrounds for Contrast */
.page-fishing-games__dark-bg {
  background-color: var(--rr99-deep-green);
  color: var(--rr99-text-main);
}

.page-fishing-games__light-bg {
  background-color: var(--rr99-background);
  color: var(--rr99-text-main);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-fishing-games__feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -80px;
    padding: 30px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 20px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-fishing-games__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% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategies-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

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

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

  .page-fishing-games__feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }

  .page-fishing-games__feature-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
  }

  .page-fishing-games__feature-heading {
    font-size: 1.3em;
  }

  .page-fishing-games__steps-list li,
  .page-fishing-games__tips-list li,
  .page-fishing-games__promotion-list li {
    padding: 20px;
  }

  .page-fishing-games__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

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

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

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__hero-content {
    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-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-fishing-games__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-fishing-games__hero-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  .page-fishing-games__cta-buttons {
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__cta-button,
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .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-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Ensure no horizontal scroll */
  .page-fishing-games {
    overflow-x: hidden;
  }
}

/* Ensure images do not have filters */
.page-fishing-games img {
  filter: none !important;
}