:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --card-bg-dark-theme: rgba(255, 255, 255, 0.1);
  --card-bg-light-theme: #ffffff;
  --border-color: #e0e0e0;
}

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

.page-fishing-games__dark-bg {
  background: #1a1a1a; /* Inherited from body or set explicitly */
  color: var(--text-color-dark-bg);
}

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

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

.page-fishing-games__text-center {
  text-align: center;
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

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

.page-fishing-games__intro-text {
  font-size: 18px;
  color: var(--text-color-dark-bg);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-light-bg);
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-fishing-games__cta-button:hover {
  background: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Grid for general content */
.page-fishing-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-fishing-games__card {
  background: var(--card-bg-dark-theme);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-fishing-games__card-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card p {
  color: var(--text-color-dark-bg);
  font-size: 16px;
}

/* Game Card Specific Styles */
.page-fishing-games__game-card {
  background: var(--card-bg-dark-theme);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-content {
  padding: 25px;
  background: var(--card-bg-light-theme);
  color: var(--text-color-light-bg);
}

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

.page-fishing-games__game-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-color-light-bg);
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-fishing-games__btn-primary:hover {
  background: #FFC107;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-color-dark-bg);
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-fishing-games__btn-secondary:hover {
  background: #A00000; /* Slightly darker red */
  transform: translateY(-2px);
}

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

.page-fishing-games__step-item {
  background: var(--card-bg-light-theme);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid var(--border-color);
  color: var(--text-color-light-bg);
}

.page-fishing-games__step-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-fishing-games__tip-item {
  background: var(--card-bg-light-theme);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-color-light-bg);
}

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

/* Promotion Section */
.page-fishing-games__promo-section {
  text-align: center;
}

.page-fishing-games__promo-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
  font-size: 17px;
  color: var(--text-color-dark-bg);
}

.page-fishing-games__promo-list li {
  background: rgba(255, 215, 0, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  position: relative;
  padding-left: 45px;
}

.page-fishing-games__promo-list li::before {
  content: '✔';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

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

.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  color: var(--text-color-light-bg);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-radius 0.3s ease;
  position: relative;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

.page-fishing-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  pointer-events: none;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--text-color-light-bg);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: var(--card-bg-light-theme);
  color: var(--text-color-light-bg);
  border-radius: 0 0 8px 8px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Final CTA */
.page-fishing-games__cta-final {
  padding: 80px 0;
  background: var(--secondary-color);
  color: var(--text-color-dark-bg);
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.page-fishing-games__cta-final p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 42px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-image {
    border-radius: 4px;
  }

  .page-fishing-games__hero-content {
    padding: 0 10px;
  }

  .page-fishing-games__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-fishing-games__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-fishing-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-games__game-image {
    height: 200px; /* Adjust height for mobile */
  }

  .page-fishing-games__card, .page-fishing-games__game-card, .page-fishing-games__step-item, .page-fishing-games__tip-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__card-title, .page-fishing-games__game-title, .page-fishing-games__step-title, .page-fishing-games__tip-title {
    font-size: 20px;
  }

  .page-fishing-games__promo-image {
    margin: 20px auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-fishing-games__promo-list {
    font-size: 15px;
    margin: 20px 0;
  }

  .page-fishing-games__promo-list li {
    padding: 12px 15px 12px 40px;
  }

  .page-fishing-games__promo-list li::before {
    left: 15px;
    font-size: 18px;
  }

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

  .page-fishing-games__faq-question h3 {
    font-size: 16px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }

  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 15px 20px !important;
  }

  .page-fishing-games__faq-answer p {
    font-size: 15px;
  }

  .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-fishing-games__cta-final {
    padding: 50px 0;
  }
  .page-fishing-games__cta-final p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 28px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-fishing-games__card-title, .page-fishing-games__game-title, .page-fishing-games__step-title, .page-fishing-games__tip-title {
    font-size: 18px;
  }
}