.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  box-sizing: border-box;
}

.page-fishing-games__hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  cursor: pointer;
}

.page-fishing-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-fishing-games__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-fishing-games__section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-fishing-games__section:nth-of-type(even) {
  background-color: #1a1a1a;
}

.page-fishing-games__dark-section {
  background-color: #1A202C;
  color: #ffffff;
}

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

.page-fishing-games__section-title {
  font-size: 2.5rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
}

.page-fishing-games__section-description {
  font-size: 1.1rem;
  color: #e0e0e0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__promotion-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

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

.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__promotion-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Ensure min size */
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__promotion-title {
  font-size: 1.5rem;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-fishing-games__game-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-fishing-games__game-title a:hover {
  text-decoration: underline;
}

.page-fishing-games__feature-text,
.page-fishing-games__game-description,
.page-fishing-games__promotion-text {
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-fishing-games__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
  color: #cccccc;
  line-height: 1.6;
}

.page-fishing-games__step-item::before {
  counter-increment: step-counter;
  content: "0" counter(step-counter);
  position: absolute;
  left: 25px;
  top: 25px;
  background-color: #FFD700;
  color: #1A202C;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.page-fishing-games__step-title {
  font-size: 1.3rem;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-fishing-games__security-content {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-fishing-games__security-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  flex: 1 1 300px;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__security-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-fishing-games__security-subtitle {
  font-size: 1.4rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-fishing-games__security-item p {
  color: #cccccc;
  line-height: 1.7;
}

.page-fishing-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-fishing-games__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__mobile-text p {
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-fishing-games__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

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

.page-fishing-games__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #1A202C;
  color: #FFD700;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
}

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

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

.page-fishing-games__cta-final {
  text-align: center;
  padding-bottom: 80px;
}

.page-fishing-games__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    height: auto;
    min-height: 600px;
    padding: 100px 20px 60px; /* Adjust padding for mobile */
  }
  .page-fishing-games__hero-title {
    font-size: 2.2rem;
  }
  .page-fishing-games__hero-description {
    font-size: 1rem;
  }
  .page-fishing-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-fishing-games__section {
    padding: 60px 0;
  }
  .page-fishing-games__section-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__section-description {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }
  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__promotion-cards {
    grid-template-columns: 1fr;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card {
    padding: 20px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promotion-title {
    font-size: 1.3rem;
  }
  .page-fishing-games__feature-text,
  .page-fishing-games__game-description,
  .page-fishing-games__promotion-text {
    font-size: 0.9rem;
  }
  .page-fishing-games__step-item {
    padding-left: 60px;
  }
  .page-fishing-games__step-item::before {
    width: 30px;
    height: 30px;
    font-size: 1rem;
    left: 20px;
    top: 20px;
  }
  .page-fishing-games__step-title {
    font-size: 1.1rem;
  }
  .page-fishing-games__security-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-fishing-games__mobile-content {
    flex-direction: column;
  }
  .page-fishing-games__mobile-image-wrapper {
    order: -1; /* Image above text on mobile */
  }
  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 10px 20px;
  }
  .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    padding: 10px 20px !important;
  }
  .page-fishing-games__cta-actions {
    flex-direction: column;
  }
  /* Mobile image and video responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games video,
  .page-fishing-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__card,
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-card,
  .page-fishing-games__security-item,
  .page-fishing-games__mobile-content,
  .page-fishing-games__mobile-text,
  .page-fishing-games__mobile-image-wrapper,
  .page-fishing-games__hero-content,
  .page-fishing-games__hero-actions,
  .page-fishing-games__cta-actions,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile */
  }
  .page-fishing-games__cta-actions {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: 1.8rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.5rem;
  }
  .page-fishing-games__hero-description {
    font-size: 0.9rem;
  }
}