/* style/fishing-games.css */
/* Color Palette */
:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --bg-dark: #0D0E12;
  --bg-card: #17191F;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
  --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

/* Base styles for the page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--bg-dark);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 60px; /* Add padding to the bottom of the hero section */
  padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
  margin-top: 50px; /* Adjust as needed to prevent overlap with header */
}

.page-fishing-games__main-title {
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-fishing-games__main-description {
  color: var(--text-main);
  font-size: 1.1em;
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

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

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

.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__game-types-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__registration-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 60px 0;
  background-color: var(--bg-dark); /* Ensure sections have background */
}

.page-fishing-games__section-title {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-fishing-games__sub-title {
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.page-fishing-games__paragraph {
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__paragraph a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

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

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

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

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__card-title {
  color: var(--secondary-color);
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-fishing-games__card-description {
  color: var(--text-main);
  font-size: 0.95em;
}

/* Lists */
.page-fishing-games__game-list,
.page-fishing-games__tips-list,
.page-fishing-games__promo-list,
.page-fishing-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__list-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-title {
  color: var(--primary-color);
  font-size: 1.2em;
  margin-bottom: 10px;
}

.page-fishing-games__list-description {
  color: var(--text-main);
}

/* Strategy Image */
.page-fishing-games__strategy-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

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

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  color: var(--secondary-color);
  font-weight: bold;
  cursor: pointer;
  background-color: #1a1e27; /* Slightly different background for question */
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #2a3140;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

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

.page-fishing-games__faq-answer {
  padding: 15px 20px;
  color: var(--text-main);
  font-size: 0.95em;
  text-align: justify;
}

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

.page-fishing-games__faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.2em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }
  .page-fishing-games__main-description {
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__hero-content {
    padding: 15px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__registration-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* All images must be responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* All containers with images/content must be responsive */
  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__features-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__registration-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section,
  .page-fishing-games__feature-card,
  .page-fishing-games__list-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.5em;
  }
  .page-fishing-games__section-title {
    font-size: 1.5em;
  }
  .page-fishing-games__sub-title {
    font-size: 1.2em;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9em;
  }
}