/* Base styles for the fishing-games page */
.page-fishing-games {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__sub-title {
  font-size: 24px;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-fishing-games__section-description {
  font-size: 18px;
  color: #A7D9B8;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-block {
  font-size: 16px;
  color: #F2FFF6;
  margin-bottom: 20px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

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

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 30px 20px 50px;
  background: linear-gradient(0deg, #08160F 0%, rgba(8, 22, 15, 0.8) 50%, rgba(8, 22, 15, 0) 100%);
  margin-top: -150px; /* Overlap slightly for visual blend */
}

.page-fishing-games__main-title {
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  max-width: 900px;
  margin: 0 auto 30px;
}

/* Buttons */
.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-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D;
}

.page-fishing-games__btn-secondary {
  background: #11271B;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-fishing-games__btn-secondary:hover {
  background: #2E7A4E;
  color: #ffffff;
  box-shadow: 0 0 15px #57E38D;
}

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

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

/* Image Text Block */
.page-fishing-games__image-text-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__image-left {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__image-left img {
  width: 100%;
  height: auto;
  display: block;
}

.page-fishing-games__text-right {
  flex: 1;
  max-width: 50%;
}

/* Card Grid */
.page-fishing-games__card-grid {
  background-color: #0A4B2C; /* Deep Green for this section */
  padding-bottom: 60px;
}

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

.page-fishing-games__card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F2FFF6;
}

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

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-fishing-games__card p {
  font-size: 15px;
  color: #A7D9B8;
  flex-grow: 1;
}

/* Game Showcase */
.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-fishing-games__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-fishing-games__game-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E;
}

.page-fishing-games__game-description {
  font-size: 15px;
  color: #A7D9B8;
  flex-grow: 1;
}

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

.page-fishing-games__guide-step {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #F2FFF6;
}

.page-fishing-games__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

.page-fishing-games__guide-step p {
  font-size: 16px;
  color: #A7D9B8;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions */
.page-fishing-games__promotions {
  background-color: #0A4B2C;
}

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

.page-fishing-games__promo-card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2C14E;
  padding: 15px 20px 0;
}

.page-fishing-games__promo-card p {
  font-size: 15px;
  color: #A7D9B8;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
  margin: 0 20px 20px;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E;
  overflow: hidden;
  background: #11271B; /* Card BG */
  color: #F2FFF6;
}
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: #1E3A2A; /* Divider color for hover */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #0A4B2C; /* Deep Green */
  border-radius: 0 0 5px 5px;
  color: #A7D9B8;
}

/* Final CTA */
.page-fishing-games__cta-final {
  padding: 60px 0;
  background-color: #0A4B2C;
}

.page-fishing-games__text-center {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
  .page-fishing-games__hero-content {
    margin-top: -100px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-fishing-games__image-text-block {
    flex-direction: column;
  }
  .page-fishing-games__image-left,
  .page-fishing-games__text-right {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  /* Images */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__image-left,
  .page-fishing-games__card-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    width: 100% !important;
    height: auto !important; /* Allow height to adapt */
    min-height: 200px !important; /* Ensure minimum size */
    object-fit: cover;
  }
  .page-fishing-games__image-text-block {
    gap: 20px;
  }

  /* Buttons */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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% !important;
    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__cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Cards */
  .page-fishing-games__grid-3-col,
  .page-fishing-games__game-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-step,
  .page-fishing-games__promo-card {
    padding: 20px;
  }
  .page-fishing-games__card-title,
  .page-fishing-games__game-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promo-title {
    font-size: 20px;
  }
  .page-fishing-games__card p,
  .page-fishing-games__game-description,
  .page-fishing-games__guide-step p,
  .page-fishing-games__promo-card p {
    font-size: 14px;
  }

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

/* No specific 1024px grid for fishing-games as it's not a homepage */
/* No specific 1023px trial reset as it's not a homepage */

/* Fixed header spacing is handled by shared.css on body */
/* The page-fishing-games__hero-section has a small padding-top of 10px */

/* Color Contrast Fixes (if needed, applied based on analysis) */
/* Body background is #08160F (dark), so text colors are set to light (#F2FFF6, #A7D9B8) */
/* Card backgrounds are #11271B (dark), so text colors are set to light */
/* Button backgrounds are gradient/dark, so text colors are set to white */

.page-fishing-games__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}
.page-fishing-games__dark-bg h1, .page-fishing-games__dark-bg h2, .page-fishing-games__dark-bg h3 {
  color: #F2C14E;
}

/* Overlay for game trial, if any (not applicable here, but for structure) */
.page-fishing-games__game-trial-overlay {
  z-index: 5;
  pointer-events: auto;
}
.page-fishing-games__game-trial-overlay.is-hidden {
  display: none !important;
  pointer-events: none !important;
}
.page-fishing-games__game-trial-start {
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}
.page-fishing-games__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-fishing-games__reward-modal[hidden] {
  display: none;
}
.page-fishing-games__reward-modal-content {
  background: #11271B;
  border: 1px solid #F2C14E;
  border-radius: 12px;
  padding: 30px;
  max-width: 500px;
  text-align: center;
  color: #F2FFF6;
  position: relative;
}
.page-fishing-games__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #F2C14E;
  cursor: pointer;
  line-height: 1;
}