/* style/fishing-games.css */

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

/* Base Styles */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--vp88-text-main); /* Default text color for the page */
  background-color: var(--vp88-background); /* Default background color for the page */
}

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

.page-fishing-games__section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* H1 font size clamp */
  font-weight: 700;
  line-height: 1.2;
  color: var(--vp88-gold-color); /* Use gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--vp88-text-secondary);
  text-align: center;
  margin-bottom: 30px;
}

/* Specific Text Colors */
.page-fishing-games__text-main {
  color: var(--vp88-text-main);
}
.page-fishing-games__text-secondary {
  color: var(--vp88-text-secondary);
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
  background: var(--vp88-button-gradient);
  color: var(--vp88-text-main); /* White-ish text for dark gradient */
  border-color: var(--vp88-glow-color);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--vp88-gold-color);
}

.page-fishing-games__btn-secondary {
  background: var(--vp88-card-bg);
  color: var(--vp88-gold-color); /* Gold text for dark background */
  border-color: var(--vp88-border-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--vp88-deep-green);
  color: var(--vp88-glow-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-large {
  padding: 18px 40px;
  font-size: 1.3rem;
}

/* Section Backgrounds */
.page-fishing-games__dark-bg {
  background-color: var(--vp88-background);
  color: var(--vp88-text-main);
}

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

/* Cards */
.page-fishing-games__card {
  background-color: var(--vp88-card-bg);
  border: 1px solid var(--vp88-border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--vp88-gold-color);
  margin-top: 15px;
  margin-bottom: 10px;
}

/* Images */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover; /* Ensure images fill their space nicely */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  text-align: center;
  margin-top: -100px; /* Pull content slightly over the image */
  padding: 40px;
  background: rgba(8, 22, 15, 0.85); /* Semi-transparent background for readability */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  border: 1px solid var(--vp88-border-color);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* H1 font size clamp */
  font-weight: 900;
  line-height: 1.1;
  color: var(--vp88-gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__hero-description {
  font-size: 1.25rem;
  color: var(--vp88-text-main);
  margin-bottom: 30px;
  line-height: 1.6;
}

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

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
}

.page-fishing-games__grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__image-block img {
  width: 100%;
  height: auto;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
}

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

.page-fishing-games__feature-card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
}

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

.page-fishing-games__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* Push button to bottom */
  height: 100%;
}

.page-fishing-games__step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--vp88-gold-color);
  margin-bottom: 15px;
  background: var(--vp88-deep-green);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--vp88-glow-color);
}

/* Tips Section */
.page-fishing-games__tips-section {
  padding: 80px 0;
}

.page-fishing-games__tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-fishing-games__tip-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px dashed var(--vp88-divider-color);
}

.page-fishing-games__tip-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-fishing-games__list-title {
  font-size: 1.4rem;
  color: var(--vp88-glow-color);
  margin-bottom: 10px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
}

.page-fishing-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-fishing-games__promo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
}

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

.page-fishing-games__faq-item {
  background-color: var(--vp88-card-bg);
  border: 1px solid var(--vp88-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-fishing-games__faq-item[open] {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: var(--vp88-glow-color);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vp88-gold-color);
  cursor: pointer;
  background-color: var(--vp88-deep-green);
  border-bottom: 1px solid var(--vp88-border-color);
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
  background-color: var(--vp88-primary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom: 1px solid var(--vp88-glow-color);
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--vp88-text-secondary);
  text-align: left;
}

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

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

/* Final CTA Section */
.page-fishing-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* Hero Section */
  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 25px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .page-fishing-games__hero-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Grid Layouts */
  .page-fishing-games__grid-two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Images and Videos */
  .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__image-block,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* FAQ Section */
  .page-fishing-games__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-answer {
    font-size: 0.95rem;
    padding: 15px 20px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 1.5rem;
  }

  /* Sections padding */
  .page-fishing-games__about-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }
}