.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#121212) */
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #1a1a1a;
  overflow: hidden;
}

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

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-fishing-games__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-fishing-games__hero-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;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 30px;
  text-align: center;
}

.page-fishing-games__intro-section,
.page-fishing-games__video-section,
.page-fishing-games__lobbies-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-final-section {
  padding: 60px 0;
  background-color: #121212; /* Ensure dark background for sections */
}

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

.page-fishing-games__feature-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #017439; /* Brand primary color for titles */
  margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: block; /* Ensure it behaves like a block element */
}

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

.page-fishing-games__lobby-card,
.page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__lobby-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-8px);
}

.page-fishing-games__lobby-image,
.page-fishing-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__lobby-title,
.page-fishing-games__promo-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__lobby-description,
.page-fishing-games__promo-description {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-fishing-games__lobby-card .page-fishing-games__btn-primary,
.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  margin: 0 15px 20px;
  width: calc(100% - 30px);
}

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

.page-fishing-games__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-fishing-games__guide-step-title {
  font-size: 1.6em;
  color: #FFFF00; /* Yellow for step titles */
  margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__tips-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tip-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-fishing-games__tips-list p {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
}

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

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  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: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__faq-question h3 {
  font-size: 1.3em;
  color: #ffffff;
  margin: 0;
}

.page-fishing-games__faq-toggle {
  font-size: 1.8em;
  color: #017439;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.02);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-fishing-games__faq-answer p {
  font-size: 1em;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-fishing-games__cta-final-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #017439; /* Brand primary color for final CTA */
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: #ffffff;
  text-shadow: none;
}

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-fishing-games__hero-title {
    font-size: 2.5em;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__hero-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;
    margin: 0 auto;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
    padding-top: 20px;
  }
  .page-fishing-games__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-fishing-games__intro-section,
  .page-fishing-games__video-section,
  .page-fishing-games__lobbies-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-final-section {
    padding: 40px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    margin: 0 auto;
    overflow: hidden !important;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__lobbies-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__lobby-card,
  .page-fishing-games__guide-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__faq-item {
    padding: 20px;
  }
  .page-fishing-games__lobby-card .page-fishing-games__btn-primary,
  .page-fishing-games__promo-card .page-fishing-games__btn-primary {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
  }
  .page-fishing-games__faq-question,
  .page-fishing-games__faq-answer {
    padding: 15px 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 20px;
  }
  .page-fishing-games__faq-question h3 {
    font-size: 1.1em;
  }
  .page-fishing-games__faq-toggle {
    font-size: 1.5em;
  }
  .page-fishing-games__cta-final-section .page-fishing-games__btn-primary {
    width: calc(100% - 40px);
  }
}