/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F2FFF6); /* Default text color for the page content */
  background-color: var(--page-background, #08160F); /* Page background color */
  line-height: 1.6;
}

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

/* Section styling */
.page-fishing-games__hero-section,
.page-fishing-games__about-section,
.page-fishing-games__games-showcase-section,
.page-fishing-games__guide-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow, especially for responsive images/videos */
}

/* Specific section backgrounds */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding for the first section, body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--page-background, #08160F);
}

.page-fishing-games__hero-video-link {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px; /* Space between video and content */
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
}

.page-fishing-games__hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* No filter to change color */
}

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__about-section,
.page-fishing-games__guide-section,
.page-fishing-games__faq-section {
  background-color: var(--card-bg, #11271B); /* Darker background for contrast */
}

.page-fishing-games__games-showcase-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-bottom-section {
  background-color: var(--page-background, #08160F);
}

/* Headings */
.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-fishing-games__intro-text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold-color, #F2C14E); /* Using Gold for section titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-fishing-games__section-description {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__card-title {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--text-main, #F2FFF6);
  margin-top: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

/* Paragraphs and lists */
.page-fishing-games p,
.page-fishing-games li {
  color: var(--text-secondary, #A7D9B8);
  font-size: 1rem;
  margin-bottom: 10px;
}

/* Buttons */
.page-fishing-games__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons adapt to container width */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--main-color, #11A84E);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--main-color, #11A84E);
  color: #ffffff;
  border-color: var(--main-color, #11A84E);
  transform: translateY(-2px);
}

.page-fishing-games__card-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(17, 168, 78, 0.3);
}

.page-fishing-games__card-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 12px rgba(17, 168, 78, 0.5);
  transform: translateY(-1px);
}

/* Grid layouts */
.page-fishing-games__features-grid,
.page-fishing-games__games-grid,
.page-fishing-games__steps-grid,
.page-fishing-games__tips-grid,
.page-fishing-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Card styling */
.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__step-card,
.page-fishing-games__tip-card,
.page-fishing-games__promo-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--divider-color, #1E3A2A);
}

.page-fishing-games__feature-card img,
.page-fishing-games__game-card img,
.page-fishing-games__promo-card img {
  width: 100%;
  height: 200px; /* Minimum height for content images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* FAQ section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-main, #F2FFF6);
  list-style: none; /* Remove default marker */
}

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

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

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 20px;
  color: var(--glow-color, #57E38D);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95rem;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−'; /* Change to minus when open */
}

/* Global image and video responsive styles */
.page-fishing-games img,
.page-fishing-games video {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box; /* Ensure padding/border is included in width */
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-fishing-games__hero-section,
  .page-fishing-games__about-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 40px 0;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }

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

  .page-fishing-games__intro-text,
  .page-fishing-games__section-description {
    font-size: 1rem;
    padding: 0 15px; /* Add padding to text for better readability on mobile */
  }

  .page-fishing-games__card-title {
    font-size: 1.3rem;
  }

  .page-fishing-games p,
  .page-fishing-games li {
    font-size: 0.95rem;
  }

  /* Images and Videos responsive styles for mobile */
  .page-fishing-games img,
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-video-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Ensure all containers with images/content are responsive */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__step-card,
  .page-fishing-games__tip-card,
  .page-fishing-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive styles for mobile */
  .page-fishing-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding: 0 15px; /* Add padding to button group */
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__card-button {
    width: 100% !important; /* Full width buttons */
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    text-align: center;
  }

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

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

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