:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --bg-color-body: #0D0E12; /* Background */
  --bg-color-card: #17191F; /* Card BG */
  --text-color-main: #FFF3E6; /* Text Main */
  --border-color: #A84F0C; /* Border */
  --glow-color: #FFB04D; /* Glow */
  --deep-orange-color: #D96800; /* Deep Orange */
  --btn-gradient: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
  --header-offset: 122px; /* Default, will be overridden by shared.css */
}

.page-fishing-games {
  background-color: var(--bg-color-body);
  color: var(--text-color-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.5);
}

.page-fishing-games__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.8;
  color: var(--text-color-main);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* 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: var(--bg-color-body);
}

.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;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 140, 26, 0.4);
}

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

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

.page-fishing-games__hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--primary-color);
  text-shadow: 0 0 15px var(--glow-color);
  margin-bottom: 20px;
  /* Using clamp for responsive font size */
  font-size: clamp(32px, 5vw, 48px);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-color-main);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--btn-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 140, 26, 0.4);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(255, 140, 26, 0.6);
}

.page-fishing-games__cta-button--small {
  padding: 14px 30px;
  font-size: 18px;
  margin-top: 30px;
}

/* Introduction Section */
.page-fishing-games__introduction .page-fishing-games__section-description {
  margin-bottom: 30px;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 40px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border-color);
}

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

.page-fishing-games__card {
  background-color: var(--bg-color-card);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color-main);
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

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

.page-fishing-games__card-text {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--btn-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__card-button:hover {
  background: linear-gradient(180deg, var(--deep-orange-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 140, 26, 0.3);
}

/* How to Play Section */
.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__step-item {
  background-color: var(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.page-fishing-games__step-item:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__step-item p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-color-main);
}

/* Strategy Section */
.page-fishing-games__strategy-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  margin-top: 50px;
  text-align: left;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  flex: 2;
}

.page-fishing-games__strategy-item {
  background-color: var(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-color-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__strategy-item strong {
  color: var(--secondary-color);
}

.page-fishing-games__image-content--strategy {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  margin: 0;
  border-radius: 10px;
}

/* Promotions Section */
.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  text-align: left;
}

.page-fishing-games__promotion-item {
  background-color: var(--bg-color-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
  color: var(--text-color-main);
}

.page-fishing-games__promotion-item:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__promotion-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color-main);
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-color-card);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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, 140, 26, 0.1);
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 25px;
  background: var(--bg-color-body);
  border-radius: 0 0 10px 10px;
  color: var(--text-color-main);
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-fishing-games__faq-link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-fishing-games__faq-link:hover {
  color: var(--primary-color);
}

/* Conclusion Section */
.page-fishing-games__conclusion .page-fishing-games__section-description {
  margin-bottom: 30px;
}

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

  .page-fishing-games__section-description {
    font-size: 16px;
  }

  .page-fishing-games__hero-title {
    font-size: clamp(28px, 4.5vw, 40px);
  }

  .page-fishing-games__hero-description {
    font-size: 18px;
  }

  .page-fishing-games__cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }

  .page-fishing-games__card-title {
    font-size: 22px;
  }

  .page-fishing-games__step-title {
    font-size: 24px;
  }

  .page-fishing-games__strategy-content {
    flex-direction: column;
    align-items: center;
  }

  .page-fishing-games__image-content--strategy {
    max-width: 100%;
    margin-top: 30px;
  }

  .page-fishing-games__promotion-title {
    font-size: 22px;
  }

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

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__section {
    padding: 40px 15px;
  }
  .page-fishing-games__container {
    padding: 0 10px;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-fishing-games__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  /* Hero Section Mobile */
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* Body handles header offset */
    padding-bottom: 30px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-fishing-games__cta-button {
    padding: 14px 30px;
    font-size: 17px;
    width: 100% !important; /* Enforce full width */
    max-width: 300px !important; /* Limit max width for better appearance */
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .page-fishing-games__cta-button--small {
    padding: 12px 25px;
    font-size: 16px;
  }

  /* Images Mobile */
  .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,
  .page-fishing-games__game-grid,
  .page-fishing-games__steps-list,
  .page-fishing-games__strategy-content,
  .page-fishing-games__promotion-list,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__image-content {
    margin: 20px auto;
  }

  /* Game Grid Mobile */
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__card {
    padding: 20px;
  }
  .page-fishing-games__card-image {
    height: 180px;
  }
  .page-fishing-games__card-title {
    font-size: 20px;
  }
  .page-fishing-games__card-text {
    font-size: 15px;
  }

  /* How to Play Mobile */
  .page-fishing-games__step-item {
    padding: 20px;
  }
  .page-fishing-games__step-title {
    font-size: 20px;
  }

  /* Strategy Mobile */
  .page-fishing-games__strategy-item {
    padding: 15px;
    font-size: 15px;
  }

  /* Promotions Mobile */
  .page-fishing-games__promotion-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__promotion-item {
    padding: 20px;
  }
  .page-fishing-games__promotion-title {
    font-size: 20px;
  }

  /* FAQ Mobile */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px 20px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
  }
}