.page-fishing-games { font-family: 'Arial', sans-serif; color: #333333; background: #ffffff; line-height: 1.6; }
.page-fishing-games__dark-bg { background: #017439; color: #ffffff; }
.page-fishing-games__light-bg { background: #ffffff; color: #333333; }
.page-fishing-games__container { max-width: 1200px; margin: 0 auto; padding: 20px 15px; box-sizing: border-box; }
.page-fishing-games__section-title { font-size: 2.2em; text-align: center; margin-bottom: 30px; font-weight: 700; color: #017439; }
.page-fishing-games__dark-bg .page-fishing-games__section-title { color: #ffffff; }
.page-fishing-games__text-block { font-size: 1.1em; text-align: center; max-width: 800px; margin: 0 auto 40px; }
.page-fishing-games__dark-bg .page-fishing-games__text-block { color: #f0f0f0; }

/* Buttons */
.page-fishing-games__cta-button, .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary { display: inline-block; padding: 14px 28px; border-radius: 8px; font-size: 1.1em; font-weight: bold; text-decoration: none; text-align: center; cursor: pointer; transition: all 0.3s ease; white-space: normal; word-wrap: break-word; box-sizing: border-box; max-width: 100%; }
.page-fishing-games__btn-primary { background: #017439; color: #ffffff; border: 2px solid #017439; }
.page-fishing-games__btn-primary:hover { background: #005f2e; border-color: #005f2e; }
.page-fishing-games__btn-secondary { background: #ffffff; color: #017439; border: 2px solid #017439; }
.page-fishing-games__btn-secondary:hover { background: #f0f0f0; border-color: #005f2e; }
.page-fishing-games__btn-text { background: transparent; color: #333333; border: none; padding: 10px 15px; font-size: 1em; cursor: pointer; }
.page-fishing-games__btn-text:hover { text-decoration: underline; }

/* Hero Section */
.page-fishing-games__hero-section { display: flex; flex-direction: column; align-items: center; padding-top: 10px; margin-bottom: 40px; }
.page-fishing-games__hero-image-wrapper { width: 100%; max-width: 100%; overflow: hidden; margin-bottom: 30px; }
.page-fishing-games__hero-image { width: 100%; height: auto; display: block; object-fit: cover; border-radius: 10px; }
.page-fishing-games__hero-content { text-align: center; padding: 20px; border-radius: 10px; max-width: 900px; width: 100%; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.page-fishing-games__main-title { font-size: clamp(2em, 4vw, 3.5em); font-weight: 800; line-height: 1.2; margin-bottom: 20px; color: #017439; }
.page-fishing-games__hero-content .page-fishing-games__description { font-size: 1.2em; margin-bottom: 30px; color: #555; }

/* Game Trial Section - Homepage-like structure as per prompt's CSS examples */
.page-fishing-games__game-trial-section { padding: 40px 0; }

@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: 0 15px 12px !important; }
  .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 !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: #C30808 !important; color: #fff !important; }
  .page-fishing-games__hero-brand { background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 20px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; }
  .page-fishing-games__hero-brand .page-fishing-games__section-title { font-size: 1.6em; margin-bottom: 15px; }
  .page-fishing-games__hero-brand p { font-size: 0.95em; line-height: 1.4; margin-bottom: 20px; }
  .page-fishing-games__brand-features { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .page-fishing-games__brand-features li { display: flex; align-items: center; font-size: 0.9em; }
  .page-fishing-games__brand-features img {   margin-right: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); }
  .page-fishing-games__game-trial-shell { border: 1px solid rgba(212,175,55,.45); border-radius: 10px; overflow: hidden; }
  .page-fishing-games__game-trial-topbar { background: #222; padding: 8px 15px; display: flex; justify-content: center; align-items: center; }
  .page-fishing-games__game-title { margin: 0; font-size: 1.1em; color: #fff; }
  .page-fishing-games__game-trial-bottombar { background: #222; padding: 8px 15px; display: flex; justify-content: center; align-items: center; }
  .page-fishing-games__bottombar-button { background: #017439; color: #fff; padding: 8px 15px; border-radius: 5px; text-decoration: none; font-size: 0.9em; }
  .page-fishing-games__hero-jackpot { background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 20px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; }
  .page-fishing-games__hero-jackpot .page-fishing-games__section-title { font-size: 1.6em; margin-bottom: 15px; }
  .page-fishing-games__jackpot-amount { font-size: 2.5em; font-weight: bold; color: #FFFF00; margin-bottom: 10px; }
  .page-fishing-games__jackpot-currency { font-size: 0.6em; vertical-align: super; margin-right: 5px; }
  .page-fishing-games__jackpot-info { font-size: 0.95em; line-height: 1.4; margin-bottom: 20px; }
}

.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; z-index: 5; pointer-events: auto; opacity: 1; transition: opacity 0.3s ease; }
.page-fishing-games__game-trial-overlay.is-hidden { opacity: 0; display: none !important; pointer-events: none !important; }
.page-fishing-games__game-trial-start { background: #C30808; color: #FFFF00; padding: 15px 30px; font-size: 1.4em; border: none; border-radius: 50px; cursor: pointer; z-index: 6; pointer-events: auto; touch-action: manipulation; transition: background 0.3s ease, transform 0.3s ease; }
.page-fishing-games__game-trial-start:hover { background: #a00606; transform: scale(1.05); }

/* 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; transition: opacity 0.3s ease; opacity: 1; }
.page-fishing-games__reward-modal[hidden] { display: none; opacity: 0; }
.page-fishing-games__reward-modal-content { background: #ffffff; padding: 40px; border-radius: 15px; text-align: center; max-width: 500px; width: 90%; box-shadow: 0 5px 25px rgba(0,0,0,0.2); position: relative; }
.page-fishing-games__modal-title { font-size: 2em; color: #017439; margin-bottom: 20px; }
.page-fishing-games__modal-message { font-size: 1.1em; color: #555; margin-bottom: 30px; }
.page-fishing-games__modal-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.page-fishing-games__reward-modal-close { position: absolute; top: 15px; right: 20px; font-size: 2em; color: #999; cursor: pointer; background: none; border: none; padding: 0; line-height: 1; }
.page-fishing-games__reward-modal-close:hover { color: #555; }

/* Features Section */
.page-fishing-games__features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.page-fishing-games__feature-card { background: #ffffff; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); padding: 30px; text-align: center; transition: transform 0.3s ease; border: 1px solid #e0e0e0; }
.page-fishing-games__feature-card:hover { transform: translateY(-5px); }
.page-fishing-games__feature-image { width: 100%; height: auto; max-height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; display: block; margin-left: auto; margin-right: auto; }
.page-fishing-games__feature-title { font-size: 1.5em; color: #017439; margin-bottom: 15px; font-weight: 600; }
.page-fishing-games__feature-description { font-size: 1em; color: #555; line-height: 1.5; }

/* Popular Games Section */
.page-fishing-games__popular-games-section { padding: 60px 0; }
.page-fishing-games__games-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; margin-bottom: 40px; }
.page-fishing-games__game-card { background: rgba(255, 255, 255, 0.1); border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); padding: 20px; text-align: center; transition: transform 0.3s ease; border: 1px solid rgba(255,255,255,0.2); }
.page-fishing-games__game-card:hover { transform: translateY(-5px); }
.page-fishing-games__game-image { width: 100%; height: auto; object-fit: cover; border-radius: 8px; margin-bottom: 15px; display: block; margin-left: auto; margin-right: auto; }
.page-fishing-games__game-title { font-size: 1.4em; color: #ffffff; margin-bottom: 10px; font-weight: 600; }
.page-fishing-games__game-title a { color: #ffffff; text-decoration: none; }
.page-fishing-games__game-title a:hover { text-decoration: underline; }
.page-fishing-games__game-description { font-size: 0.95em; color: #f0f0f0; line-height: 1.4; margin-bottom: 20px; }
.page-fishing-games__game-button { padding: 10px 20px; font-size: 1em; }
.page-fishing-games__cta-container { text-align: center; margin-top: 30px; }

/* Promotions Section */
.page-fishing-games__promotions-section { padding: 60px 0; }
.page-fishing-games__promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 40px; }
.page-fishing-games__promo-card { background: #ffffff; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); padding: 25px; text-align: center; transition: transform 0.3s ease; border: 1px solid #e0e0e0; }
.page-fishing-games__promo-card:hover { transform: translateY(-5px); }
.page-fishing-games__promo-image { width: 100%; height: auto; max-height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; display: block; margin-left: auto; margin-right: auto; }
.page-fishing-games__promo-title { font-size: 1.4em; color: #017439; margin-bottom: 15px; font-weight: 600; }
.page-fishing-games__promo-description { font-size: 1em; color: #555; line-height: 1.5; margin-bottom: 20px; }
.page-fishing-games__promo-button { padding: 10px 20px; font-size: 1em; }

/* Guide Section */
.page-fishing-games__guide-section { padding: 60px 0; }
.page-fishing-games__guide-list { list-style: none; padding: 0; margin-top: 40px; max-width: 900px; margin-left: auto; margin-right: auto; }
.page-fishing-games__guide-list li { background: #f9f9f9; border-left: 5px solid #017439; margin-bottom: 20px; padding: 25px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); font-size: 1.05em; line-height: 1.6; color: #444; }
.page-fishing-games__guide-list li strong { color: #017439; font-size: 1.1em; }

/* FAQ Section */
details.page-fishing-games__faq-item { margin-bottom: 15px; border-radius: 5px; border: 1px solid #e0e0e0; overflow: hidden; background: #fff; }
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: #f5f5f5; }
.page-fishing-games__faq-qtext { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: left; color: #333333; }
.page-fishing-games__faq-toggle { font-size: 24px; font-weight: bold; color: #666; 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: #f9f9f9; border-radius: 0 0 5px 5px; font-size: 1em; line-height: 1.6; color: #555; }
.page-fishing-games__faq-answer p { margin-top: 10px; margin-bottom: 0; }

/* Call to Action Section */
.page-fishing-games__call-to-action { padding: 60px 0; text-align: center; }
.page-fishing-games__call-to-action .page-fishing-games__section-title { color: #ffffff; }
.page-fishing-games__call-to-action .page-fishing-games__text-block { color: #f0f0f0; }
.page-fishing-games__cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.page-fishing-games__cta-buttons .page-fishing-games__cta-button { min-width: 200px; }

/* Mobile Responsiveness (max-width: 768px) */
@media (max-width: 768px) {
  .page-fishing-games__container { padding: 15px; }
  .page-fishing-games__section-title { font-size: 1.8em; margin-bottom: 20px; }
  .page-fishing-games__text-block { font-size: 1em; margin-bottom: 30px; }

  /* General Image & Container Adaptations */
  .page-fishing-games img { max-width: 100% !important; width: 100% !important; height: auto !important; display: block; }
  .page-fishing-games__hero-section, .page-fishing-games__content-area, .page-fishing-games__popular-games-section, .page-fishing-games__promotions-section, .page-fishing-games__guide-section, .page-fishing-games__faq-section, .page-fishing-games__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__hero-image-wrapper { margin-bottom: 20px; }
  .page-fishing-games__hero-content { padding: 15px; }
  .page-fishing-games__main-title { font-size: 1.8em; margin-bottom: 15px; }
  .page-fishing-games__hero-content .page-fishing-games__description { font-size: 1em; margin-bottom: 20px; }

  /* Buttons & Button Containers */
  .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; /* Ensure padding on buttons themselves */
    padding-right: 15px;
  }
  .page-fishing-games__cta-buttons, .page-fishing-games__modal-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }

  /* Features Grid */
  .page-fishing-games__features-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-fishing-games__feature-card { padding: 20px; }

  /* Games Grid */
  .page-fishing-games__games-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-fishing-games__game-card { padding: 15px; }

  /* Promotions Grid */
  .page-fishing-games__promo-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-fishing-games__promo-card { padding: 20px; }

  /* Guide List */
  .page-fishing-games__guide-list li { padding: 20px; font-size: 1em; }

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

  /* Reward Modal */
  .page-fishing-games__reward-modal-content { padding: 25px; }
  .page-fishing-games__modal-title { font-size: 1.5em; }
  .page-fishing-games__modal-message { font-size: 1em; }
  .page-fishing-games__reward-modal-close { top: 10px; right: 15px; font-size: 1.5em; }
}