/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F4F7FB; /* Custom background color */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D; /* Custom Text Main color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-top: 20px;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  margin: 10px auto 0;
  border-radius: 2px;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  background: #2F6BFF; /* Main color as background for dark section */
  color: #ffffff;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-fishing-games__hero-content {
  width: 100%;
  max-width: 800px;
  padding: 40px 20px;
  text-align: center;
  background: #ffffff; /* Card BG for hero content */
  color: #333333;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-radius: 8px;
  margin-top: -80px; /* Overlap with image slightly for visual effect */
  position: relative;
  z-index: 2;
}

.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1F2D3D; /* Custom Text Main color */
  line-height: 1.2;
}

.page-fishing-games__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: #333333;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button color */
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color for border */
}

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

/* Game Overview Section */
.page-fishing-games__game-overview-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Custom Background */
  color: #333333;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-fishing-games__features-section .page-fishing-games__section-title {
  color: #ffffff;
}

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

.page-fishing-games__feature-card {
  background: #ffffff; /* Card BG */
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
}

.page-fishing-games__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D; /* Custom Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__feature-description {
  font-size: 15px;
  padding: 0 15px;
  text-align: justify;
}

/* Game List Section */
.page-fishing-games__game-list-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Custom Background */
  color: #333333;
}

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

.page-fishing-games__game-card {
  background: #ffffff; /* Card BG */
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #D6E2FF; /* Custom Border */
}

.page-fishing-games__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__game-title {
  font-size: 20px;
  font-weight: 700;
  color: #1F2D3D; /* Custom Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-description {
  font-size: 14px;
  padding: 0 15px 15px;
  text-align: justify;
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
  color: #ffffff;
}

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

.page-fishing-games__instruction-list li {
  background: #ffffff; /* Card BG */
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-fishing-games__instruction-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D; /* Custom Text Main */
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

.page-fishing-games__instruction-title::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: -5px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
}

.page-fishing-games__instruction-list li:nth-child(1) .page-fishing-games__instruction-title::before { content: '1'; }
.page-fishing-games__instruction-list li:nth-child(2) .page-fishing-games__instruction-title::before { content: '2'; }
.page-fishing-games__instruction-list li:nth-child(3) .page-fishing-games__instruction-title::before { content: '3'; }
.page-fishing-games__instruction-list li:nth-child(4) .page-fishing-games__instruction-title::before { content: '4'; }

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Custom Background */
  color: #333333;
}

.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: #ffffff; /* Card BG */
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  padding-bottom: 20px;
  border: 1px solid #D6E2FF; /* Custom Border */
}

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

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D; /* Custom Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__promo-description {
  font-size: 15px;
  padding: 0 15px 15px;
  text-align: justify;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
  padding: 80px 0;
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-fishing-games__why-choose-section .page-fishing-games__section-title {
  color: #ffffff;
}

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

.page-fishing-games__advantages-list li {
  background: #ffffff; /* Card BG */
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-fishing-games__advantage-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D; /* Custom Text Main */
  margin-bottom: 15px;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Custom Background */
  color: #333333;
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Custom Border */
  overflow: hidden;
  background: #fff;
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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: #f5f5f5;
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Custom Text Main */
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666; /* Default for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  color: #2F6BFF; /* Main color when open */
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

/* General image and button responsive styles */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__cta-button,
.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-buttons,
.page-fishing-games__button-group,
.page-fishing-games__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Homepage specific CSS (as required by prompt, even for non-homepage) */
@media (max-width: 1023px) {
  .page-fishing-games__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__hero-brand,
  .page-fishing-games__hero-jackpot {
    display: none !important;
  }
}