/* style/fishing-games.css */

:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --background-bg: #B71C1C;
  --text-main-color: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
}

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

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

.page-fishing-games__section {
  padding: 60px 0;
  text-align: center;
}

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

.page-fishing-games__dark-section {
  background-color: var(--deep-red-color);
  color: var(--text-main-color);
}

.page-fishing-games__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-fishing-games__card {
  background-color: var(--card-bg);
  color: var(--text-main-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 200px; /* Ensure card content area is not too small */
}

.page-fishing-games__section-title {
  font-size: clamp(2em, 3.5vw, 3em);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__section-intro {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5em, 5vw, 4em);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

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

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

.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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #333333; /* Dark text for light gold button */
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--gold-color);
  color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Why Choose Section */
.page-fishing-games__why-choose {
  background-color: #f8f8f8;
  color: #333333;
}

.page-fishing-games__why-choose .page-fishing-games__section-title {
  color: var(--deep-red-color);
  text-shadow: none;
}

.page-fishing-games__why-choose .page-fishing-games__section-intro {
  color: #555555;
}

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

.page-fishing-games__features-grid .page-fishing-games__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__feature-description {
  font-size: 0.95em;
  color: #555555;
}

/* Popular Games Section */
.page-fishing-games__popular-games {
  background-color: var(--deep-red-color);
  color: var(--text-main-color);
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px; /* Ensure card content area is not too small */
}

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

.page-fishing-games__game-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-fishing-games__game-description {
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-fishing-games__promotions {
  background-color: #f8f8f8;
  color: #333333;
}

.page-fishing-games__promotions .page-fishing-games__section-title {
  color: var(--primary-color);
  text-shadow: none;
}

.page-fishing-games__promotions .page-fishing-games__section-intro {
  color: #555555;
}

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

.page-fishing-games__promo-card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  align-items: center;
  min-height: 200px; /* Ensure card content area is not too small */
}

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

.page-fishing-games__promo-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__promo-description {
  font-size: 0.95em;
  color: #555555;
}

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

/* Tips & Strategies Section */
.page-fishing-games__tips-strategies {
  background-color: var(--background-bg);
  color: var(--text-main-color);
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__tips-item {
  background-color: var(--card-bg);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  min-height: 200px; /* Ensure card content area is not too small */
}

.page-fishing-games__tips-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-fishing-games__tips-description {
  font-size: 0.95em;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: #f8f8f8;
  color: #333333;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--primary-color);
  text-shadow: none;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  color: var(--primary-color);
  background-color: #fefefe;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

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

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

.page-fishing-games__faq-answer {
  padding: 15px 25px;
  font-size: 0.95em;
  color: #555555;
  text-align: left;
}

/* Details element specific styling */
.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #f5f5f5;
  border-bottom: 1px solid #d0d0d0;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  color: var(--primary-color);
}

/* Final CTA Section */
.page-fishing-games__cta-final {
  padding: 80px 0;
  background-color: var(--deep-red-color);
  color: var(--text-main-color);
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
  color: var(--gold-color);
}

.page-fishing-games__cta-final .page-fishing-games__section-intro {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Global image responsiveness */
.page-fishing-games img,
.page-fishing-games video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    padding: 30px 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2em, 4.5vw, 3.5em);
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promo-grid,
  .page-fishing-games__tips-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section {
    padding: 40px 0;
  }

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

  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }

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

  .page-fishing-games__hero-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;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-fishing-games img,
  .page-fishing-games video {
    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__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-list,
  .page-fishing-games__promo-grid,
  .page-fishing-games__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    min-width: unset;
    min-height: unset;
    max-width: 100%;
    width: 100%;
  }

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

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

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    padding: 20px 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em) !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 10px 15px;
    font-size: 0.95em;
  }

  .page-fishing-games__faq-question {
    font-size: 0.9em;
  }

  .page-fishing-games__faq-answer {
    font-size: 0.85em;
  }
}