/* Mandated Homepage Trial CSS - START */
@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;
  }
  .page-fishing-games__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-topbar,
  .page-fishing-games__game-trial-bottombar {
    display: none !important;
  }
  .page-fishing-games__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-fishing-games__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-fishing-games__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-fishing-games__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-fishing-games__hero-brand,
  .page-fishing-games__hero-jackpot,
  .page-fishing-games__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-fishing-games__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-fishing-games__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-fishing-games__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-fishing-games__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}
/* Mandated Homepage Trial CSS - END */

/* General and Page-specific styles for fishing-games.html */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: #FFF1E8; /* Text Main */
  background: #140C0C; /* Background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column; /* Ensure image is above text */
  align-items: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust as needed */
  overflow: hidden;
}

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

.page-fishing-games__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but text is below image in DOM */
  position: relative; /* For z-index to be above image if needed, but no overlap */
  z-index: 2;
  background: linear-gradient(0deg, rgba(20,12,12,1) 0%, rgba(20,12,12,0.8) 50%, rgba(20,12,12,0) 100%);
  padding-top: 150px; /* Push content down over gradient */
  padding-bottom: 50px;
  border-radius: 10px;
}

.page-fishing-games__hero-title {
  font-size: clamp(2.5em, 4vw, 3.5em); /* H1 font size clamp */
  color: #F3C54D; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* For mobile */
}

/* Section Titles */
.page-fishing-games__section-title {
  font-size: 2.5em;
  color: #F3C54D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Text Blocks */
.page-fishing-games__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #FFF1E8; /* Text Main */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-small {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  box-sizing: border-box; /* Include padding in width */
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button */
  color: #ffffff;
}

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

.page-fishing-games__btn-secondary {
  background: #2A1212; /* Card BG */
  color: #F3C54D; /* Gold */
  border: 2px solid #6A1E1E; /* Border */
}

.page-fishing-games__btn-secondary:hover {
  background: #140C0C; /* Background */
  color: #FFB04A; /* Lighter gold for hover */
  transform: translateY(-2px);
}

.page-fishing-games__btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* Card Styles */
.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__tip-card,
.page-fishing-games__promo-item {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #FFF1E8; /* Text Main */
}

.page-fishing-games__card-title {
  font-size: 1.3em;
  color: #F3C54D; /* Gold */
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  text-align: center;
}

/* Feature Cards */
.page-fishing-games__introduction-section,
.page-fishing-games__why-choose-us,
.page-fishing-games__how-to-play,
.page-fishing-games__game-trial-section,
.page-fishing-games__faq-section {
  background: #1F1212; /* Slightly lighter than main bg for contrast */
  padding: 60px 0;
}

.page-fishing-games__popular-games,
.page-fishing-games__tips-strategies,
.page-fishing-games__promotions,
.page-fishing-games__cta-section {
  background: #140C0C; /* Background */
  padding: 60px 0;
}

.page-fishing-games__why-choose-us .page-fishing-games__section-title,
.page-fishing-games__how-to-play .page-fishing-games__section-title,
.page-fishing-games__game-trial-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: #FFB04A;
}

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

.page-fishing-games__feature-card {
  text-align: center;
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
}

/* Popular Games */
.page-fishing-games__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding-top: 20px;
}

.page-fishing-games__game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #6A1E1E;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}