/* Base styles for the page-fishing-games */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: var(--background-color, #B71C1C); /* Background */
}

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

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

.page-fishing-games__dark-section {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-fishing-games__light-bg {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
}

.page-fishing-games__card-bg {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
}

.page-fishing-games__section-title {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFF5E1; /* Text Main */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__section-subtitle {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F4D34D; /* Gold */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

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

.page-fishing-games__hero-title {
  font-size: clamp(2.5em, 5vw, 4em);
  font-weight: 900;
  color: #FFD86A; /* Gold gradient start */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: #FFD86A; /* Gold gradient start */
  border: 2px solid #FFD86A; /* Gold gradient start */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary:hover {
  background: #FFD86A;
  color: #7A0E0E; /* Deep Red */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-primary--center {
  margin: 20px auto 0 auto;
  display: table;
}

/* General Content Wrapper */
.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-fishing-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-fishing-games__text-block {
  flex: 1;
  color: #FFF5E1; /* Text Main */
}

.page-fishing-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-fishing-games__text-block p {
  margin-bottom: 1em;
  color: #FFF5E1; /* Text Main */
}

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

.page-fishing-games__feature-card {
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold gradient start */
}

.page-fishing-games__feature-card p {
  font-size: 1em;
  color: #FFF5E1; /* Text Main */
}

/* Game Types Section (Game Grid) */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin: 20px 0 10px;
  color: #FFD86A; /* Gold gradient start */
}

.page-fishing-games__game-card .page-fishing-games__card-title a {
  color: #FFD86A; /* Gold gradient start */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
  color: #F4D34D; /* Gold */
}

.page-fishing-games__game-card p {
  font-size: 0.95em;
  color: #FFF5E1; /* Text Main */
  padding: 0 20px 20px;
}

/* How to Play Section */
.page-fishing-games__instruction-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #FFF5E1; /* Text Main */
}

.page-fishing-games__instruction-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFD86A; /* Gold gradient start */
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__instruction-list h3 {
  font-size: 1.4em;
  font-weight: bold;
  color: #FFD86A; /* Gold gradient start */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__instruction-list p {
  color: #FFF5E1; /* Text Main */
  margin-bottom: 0;
}

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

.page-fishing-games__strategy-card {
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #F2B544; /* Border */
}

.page-fishing-games__strategy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__strategy-card .page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold gradient start */
}

.page-fishing-games__strategy-card p {
  font-size: 1em;
  color: #FFF5E1; /* Text Main */
}

.page-fishing-games__strategy-image-block {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

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

.page-fishing-games__promo-card {
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold gradient start */
}

.page-fishing-games__promo-card p {
  font-size: 1em;
  color: #FFF5E1; /* Text Main */
}

.page-fishing-games__promo-image-block {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
  color: #FFD86A; /* Gold gradient start */
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 10px 10px;
  color: #FFF5E1; /* Text Main */
  text-align: left;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  background-color: #7A0E0E; /* Deep Red */
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: #FFD86A; /* Gold gradient start */
}

.page-fishing-games__cta-final-section .page-fishing-games__section-subtitle {
  color: #FFF5E1; /* Text Main */
  margin-bottom: 50px;
}

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

  .page-fishing-games__section {
    padding: 40px 0;
  }

  .page-fishing-games__section-title {
    font-size: clamp(2em, 8vw, 2.5em);
    margin-bottom: 15px;
  }

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

  /* Hero Section */
  .page-fishing-games__hero-section {
    min-height: 400px;
    padding-bottom: 30px;
    padding-top: 10px; /* Small top padding for mobile */
  }

  .page-fishing-games__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important; /* Allow aspect ratio to adjust */
    filter: brightness(0.5); /* Slightly darker for better text readability */
  }

  .page-fishing-games__hero-title {
    font-size: clamp(2em, 8vw, 3em);
  }

  .page-fishing-games__hero-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* Buttons general mobile styles */
  .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: 12px 20px;
    font-size: 1em;
  }

  .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;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

  /* General Content Wrapper */
  .page-fishing-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__image-block {
    flex: none;
    width: 100%;
  }

  .page-fishing-games__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    box-sizing: border-box !important;
  }

  /* Image containers */
  .page-fishing-games__image-block,
  .page-fishing-games__promo-image-block,
  .page-fishing-games__strategy-image-block {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  /* Why Choose Section (Features Grid) */
  .page-fishing-games__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__feature-card {
    padding: 25px;
  }

  .page-fishing-games__feature-card .page-fishing-games__card-title {
    font-size: 1.3em;
  }

  /* Game Types Section (Game Grid) */
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }

  .page-fishing-games__game-card .page-fishing-games__card-title {
    font-size: 1.2em;
  }

  .page-fishing-games__game-card p {
    font-size: 0.9em;
  }

  /* How to Play Section */
  .page-fishing-games__instruction-list li {
    padding: 15px;
  }

  .page-fishing-games__instruction-list h3 {
    font-size: 1.2em;
  }

  /* Strategies Section */
  .page-fishing-games__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__strategy-card {
    padding: 25px;
  }

  .page-fishing-games__strategy-card .page-fishing-games__card-title {
    font-size: 1.3em;
  }

  /* Promotions Section */
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__promo-card {
    padding: 25px;
  }

  .page-fishing-games__promo-card .page-fishing-games__card-title {
    font-size: 1.3em;
  }

  /* FAQ Section */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 1em;
  }
  .page-fishing-games__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }

  /* Final CTA Section */
  .page-fishing-games__cta-final-section {
    padding: 50px 0;
  }

  .page-fishing-games__cta-final-section .page-fishing-games__section-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-fishing-games__cta-final-section .page-fishing-games__section-subtitle {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
}

/* For screens between 769px and 1024px (tablet) - adjust grid columns for better layout */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-fishing-games__container {
    padding: 30px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(3em, 6vw, 3.5em);
  }
  .page-fishing-games__section-title {
    font-size: clamp(2.5em, 5vw, 3em);
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }
  .page-fishing-games__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-fishing-games__text-block,
  .page-fishing-games__image-block {
    flex: none;
    width: 100%;
  }
}