.page-fishing-games {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
}

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-fishing-games__card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  color: #FFF6D6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

/* Hero Section Specific Styles */
.page-fishing-games__home-hero {
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 800;
  color: #F2C14E;
  text-align: left;
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 100%;
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
  text-align: left;
}

.page-fishing-games__trust-elements {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.page-fishing-games__trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95em;
  color: #FFF6D6;
}

.page-fishing-games__trust-item img {
  border-radius: 50%;
  border: 2px solid #F2C14E;
  min-
  min-
  object-fit: cover;
}

.page-fishing-games__hero-jackpot {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-fishing-games__jackpot-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-fishing-games__jackpot-amount {
  font-size: 2.8em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 0 10px #FFD36B;
}

.page-fishing-games__jackpot-currency {
  font-size: 0.6em;
  vertical-align: super;
}

.page-fishing-games__jackpot-text {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-fishing-games__hero-jackpot-claim {
  background: #c62828 !important; /* Specific color from prompt */
  color: #fff !important;
}

/* Game Trial Specific Styles */
.page-fishing-games__game-trial-shell {
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-fishing-games__game-trial-topbar, .page-fishing-games__game-trial-bottombar {
  background-color: #111111;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFF6D6;
  font-size: 0.9em;
  border-bottom: 1px solid #3A2A12;
}

.page-fishing-games__game-trial-bottombar {
  border-top: 1px solid #3A2A12;
  border-bottom: none;
}

.page-fishing-games__game-title {
  font-weight: bold;
  color: #F2C14E;
}

.page-fishing-games__game-full-screen, .page-fishing-games__game-real-play-btn {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.85em;
  text-decoration: none;
  white-space: nowrap;
}

.page-fishing-games__game-full-screen:hover, .page-fishing-games__game-real-play-btn:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
}

.page-fishing-games__game-trial-viewport {
  flex: 1;
  min-height: 0;
  position: relative;
  width: 100%;
  background-color: #000;
}

.page-fishing-games__game-trial-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: none;
}

.page-fishing-games__game-trial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 5;
  pointer-events: auto;
}

.page-fishing-games__game-trial-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  display: none !important; /* Force hide when hidden */
}

.page-fishing-games__game-trial-start {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.6);
}

.page-fishing-games__game-trial-start:hover {
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
  box-shadow: 0 0 25px rgba(255, 211, 107, 0.8);
}

/* Reward Modal */
.page-fishing-games__reward-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.page-fishing-games__reward-modal[hidden] {
  display: none !important;
}

.page-fishing-games__reward-modal-content {
  position: relative;
  max-width: 500px;
  width: 90%;
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  border: 2px solid #F2C14E;
}

.page-fishing-games__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #FFF6D6;
  font-size: 2em;
  cursor: pointer;
}

.page-fishing-games__reward-modal-close:hover {
  color: #F2C14E;
}

.page-fishing-games__reward-modal-title {
  color: #FFD36B;
  font-size: 2em;
  margin-bottom: 15px;
}

.page-fishing-games__reward-modal-message {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-fishing-games__reward-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

/* Why Choose Section */
.page-fishing-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-fishing-games__feature-item {
  text-align: center;
  padding: 30px;
}

.page-fishing-games__feature-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
}

/* Popular Games Section */
.page-fishing-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-fishing-games__game-card {
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #3A2A12;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-fishing-games__game-card .page-fishing-games__game-title {
  font-size: 1.3em;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-fishing-games__game-card .page-fishing-games__game-description {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How To Play Section */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-fishing-games__step-item {
  text-align: center;
  padding: 30px;
  position: relative;
}

.page-fishing-games__step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F2C14E;
  color: #111111;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.3em;
  border: 2px solid #FFD36B;
}

.page-fishing-games__step-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Tips & Strategies Section */
.page-fishing-games__tips-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.page-fishing-games__tips-text {
  flex: 2;
  min-width: 300px;
}

.page-fishing-games__tips-image {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.page-fishing-games__tips-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-fishing-games__tips-subtitle {
  font-size: 1.3em;
  color: #FFD36B;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-fishing-games__tips-text ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 0;
}

.page-fishing-games__tips-text li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Promotions Section */
.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-fishing-games__promo-card {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promo-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-fishing-games__promo-card p {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
}
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;
  color: #FFF6D6;
}
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: #1A1A1A;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: #0A0A0A;
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
  line-height: 1.6;
}

/* Final CTA Section */
.page-fishing-games__cta-final .page-fishing-games__container {
  padding: 50px;
  text-align: center;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-fishing-games__cta-final .page-fishing-games__section-description {
  margin-bottom: 40px;
  color: #FFF6D6;
}

.page-fishing-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Global Image Responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Homepage Trial Layout (Mandatory inclusion) */
@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;
    padding: 10px 0 12px !important; /* Adjust padding for mobile */
  }
  .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;
  }
}

/* Mobile Specific Styles (max-width: 768px) */
@media (max-width: 768px) {
  .page-fishing-games__container,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .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;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }

  .page-fishing-games__section-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__cta-button,
  .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 {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__games-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__tips-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-fishing-games__tips-text,
  .page-fishing-games__tips-image {
    min-width: unset;
    width: 100%;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 1em;
  }
  .page-fishing-games__faq-toggle {
    font-size: 20px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }

  .page-fishing-games__reward-modal-content {
    width: 95%;
    padding: 20px;
  }

  .page-fishing-games__reward-modal-title {
    font-size: 1.5em;
  }

  .page-fishing-games__reward-modal-message {
    font-size: 0.95em;
  }
}