.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

/* 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: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, #0D0E12 0%, #17191F 100%);
  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;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-fishing-games__hero-content h1 {
  color: #FFF3E6; /* Text Main */
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-fishing-games__hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

/* General Card Styles */
.page-fishing-games__card {
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #FFF3E6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 176, 77, 0.2);
}

.page-fishing-games__card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
  border-radius: 8px;
}

.page-fishing-games__card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-fishing-games__card p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Intro Section */
.page-fishing-games__intro-section {
  background-color: #0D0E12;
}

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

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  background-color: #0D0E12;
  padding-bottom: 60px;
}

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

.page-fishing-games__step-card {
  text-align: center;
  padding-top: 40px;
  position: relative;
}

.page-fishing-games__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #D96800; /* Deep Orange */
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid #FFB04D; /* Glow */
  box-shadow: 0 0 15px rgba(255, 176, 77, 0.6);
}

.page-fishing-games__step-card h3 {
  margin-top: 10px;
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 165, 58, 0.4);
}

/* Game Types Section */
.page-fishing-games__game-types-section {
  background-color: #17191F;
}

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

/* Promo Section */
.page-fishing-games__promo-section {
  background-color: #0D0E12;
  padding-bottom: 60px;
}

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

.page-fishing-games__promo-card img {
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #FFB04D; /* Glow */
  border: 2px solid #FFB04D; /* Glow */
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
  background: #FFB04D; /* Glow */
  color: #17191F; /* Card BG */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 176, 77, 0.4);
}

/* Benefits Section */
.page-fishing-games__benefits-section {
  background-color: #17191F;
}

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

.page-fishing-games__benefits-list li {
  background: #0D0E12;
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #FFF3E6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__benefits-list li strong {
  color: #FFB04D;
}

/* Registration Guide Section */
.page-fishing-games__registration-guide-section {
  background-color: #0D0E12;
  padding-bottom: 60px;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
  background-color: #17191F;
  padding-bottom: 60px;
}

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

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #0D0E12; /* Background */
  color: #FFF3E6;
}

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-size: 18px;
  font-weight: 600;
  color: #FFB04D; /* Glow */
}

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, 176, 77, 0.1);
}

.page-fishing-games__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFB04D; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: #17191F; /* Card BG */
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #f0f0f0;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
  background-color: #0D0E12;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.page-fishing-games__cta-bottom-section p {
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #f0f0f0;
}

.page-fishing-games__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games__button-group .page-fishing-games__cta-button,
.page-fishing-games__button-group .page-fishing-games__btn-secondary {
  min-width: 180px;
  text-align: center;
  flex-grow: 1;
  max-width: 400px;
}

/* Text block for general paragraphs */
.page-fishing-games__text-block {
  font-size: 16px;
  color: #f0f0f0;
  margin-top: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image img {
    border-radius: 8px;
  }
  .page-fishing-games__section-title {
    margin-bottom: 30px;
  }
  .page-fishing-games__card h3 {
    font-size: 22px;
  }
  .page-fishing-games__card p {
    font-size: 15px;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 30px 15px;
  }

  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-image {
    margin-bottom: 20px;
  }

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

  .page-fishing-games__hero-content h1 {
    font-size: 28px;
  }

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

  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-fishing-games__feature-grid, 
  .page-fishing-games__steps-grid, 
  .page-fishing-games__game-cards-grid, 
  .page-fishing-games__promo-grid, 
  .page-fishing-games__guide-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__card h3 {
    font-size: 20px;
  }

  .page-fishing-games__card p {
    font-size: 14px;
  }

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

  .page-fishing-games__promo-card img {
    
  }

  .page-fishing-games__benefits-list li {
    font-size: 15px;
    padding: 15px;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
    font-size: 16px;
  }

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

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

  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }

  .page-fishing-games__cta-bottom-section p {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-fishing-games__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__button-group .page-fishing-games__cta-button,
  .page-fishing-games__button-group .page-fishing-games__btn-secondary {
    flex-grow: unset;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content h1 {
    font-size: 26px;
  }
  .page-fishing-games__section-title {
    font-size: 26px;
  }
  .page-fishing-games__card h3 {
    font-size: 18px;
  }
  .page-fishing-games__benefits-list li {
    font-size: 14px;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    font-size: 14px;
    padding: 12px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    font-size: 14px;
    padding: 0 12px 12px;
  }
}