:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --background-dark: #0A0A0A;
  --card-bg: #111111;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --header-offset: 0px; /* Will be set by shared.css or body padding-top */
}

/* Base styles for the page content, ensuring contrast with body background */
.page-fishing-games-classic {
  background-color: var(--background-dark);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-fishing-games-classic a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-fishing-games-classic a:hover {
  text-decoration: underline;
}

.page-fishing-games-classic__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-fishing-games-classic__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-fishing-games-classic__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-main);
}

.page-fishing-games-classic__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

/* Buttons */
.page-fishing-games-classic__btn-primary,
.page-fishing-games-classic__btn-secondary,
.page-fishing-games-classic__btn-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-fishing-games-classic__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-classic__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4);
}

.page-fishing-games-classic__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-fishing-games-classic__btn-secondary:hover {
  background-color: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
}

.page-fishing-games-classic__btn-link {
  background: none;
  border: none;
  color: var(--secondary-color);
  padding: 0;
  font-size: 14px;
  text-decoration: underline;
}

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

/* Hero Section */
.page-fishing-games-classic__hero-section {
  display: flex;
  flex-direction: column-reverse; /* Image above content for mobile */
  align-items: center;
  padding: 20px 0 40px;
  background-color: var(--background-dark);
}

.page-fishing-games-classic__hero-image-container {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games-classic__hero-content-wrapper {
  max-width: 900px;
  text-align: center;
  margin-bottom: 40px;
  padding: 0 16px;
}

.page-fishing-games-classic__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-fishing-games-classic__intro-text {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 30px;
}

.page-fishing-games-classic__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Game Trial Section */
.page-fishing-games-classic__game-trial-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-fishing-games-classic__game-trial-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.page-fishing-games-classic__game-trial-shell {
  width: 100%;
  max-width: 1024px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

.page-fishing-games-classic__game-trial-viewport {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 aspect ratio (768/1024 * 100%) */
  background-color: #000;
}

.page-fishing-games-classic__game-trial-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

.page-fishing-games-classic__game-trial-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.page-fishing-games-classic__game-trial-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  display: none !important;
}

.page-fishing-games-classic__game-trial-start {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.6);
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-fishing-games-classic__game-trial-start:hover {
  opacity: 0.9;
  transform: translate(-50%, -50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.8);
}

/* Features Section */
.page-fishing-games-classic__features-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-fishing-games-classic__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-fishing-games-classic__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-fishing-games-classic__feature-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games-classic__feature-description {
  font-size: 16px;
  color: var(--text-main);
}

/* How to Play Section */
.page-fishing-games-classic__how-to-play-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-fishing-games-classic__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games-classic__step-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games-classic__step-description {
  font-size: 16px;
  color: var(--text-main);
}

.page-fishing-games-classic__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Tips Section */
.page-fishing-games-classic__tips-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-fishing-games-classic__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games-classic__tip-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-fishing-games-classic__tip-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games-classic__tip-description {
  font-size: 16px;
  color: var(--text-main);
}

/* Promotions Section */
.page-fishing-games-classic__promotions-section {
  padding: 60px 0;
  background-color: var(--background-dark);
}

.page-fishing-games-classic__promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games-classic__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-fishing-games-classic__promo-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games-classic__promo-description {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 15px;
}

/* FAQ Section */
details.page-fishing-games-classic__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
}
details.page-fishing-games-classic__faq-item summary.page-fishing-games-classic__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-classic__faq-item summary.page-fishing-games-classic__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games-classic__faq-item summary.page-fishing-games-classic__faq-question:hover {
  background: rgba(255, 211, 107, 0.1);
}
.page-fishing-games-classic__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}
.page-fishing-games-classic__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games-classic__faq-item .page-fishing-games-classic__faq-answer {
  padding: 0 20px 20px;
  background: rgba(17, 17, 17, 0.8);
  border-radius: 0 0 5px 5px;
  color: var(--text-main);
}
.page-fishing-games-classic__faq-answer p {
  margin: 0;
  font-size: 15px;
}

/* Reward Modal */
.page-fishing-games-classic__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-fishing-games-classic__reward-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.page-fishing-games-classic__reward-modal-content {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-fishing-games-classic__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: color 0.2s ease;
}

.page-fishing-games-classic__reward-modal-close:hover {
  color: var(--primary-color);
}

.page-fishing-games-classic__reward-image {
  max-width: 80%;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games-classic__reward-title {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(255, 211, 107, 0.5);
}

.page-fishing-games-classic__reward-text {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 30px;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .page-fishing-games-classic__hero-section {
    flex-direction: row; /* Content left, image right */
    justify-content: center;
    gap: 40px;
    padding-top: 40px;
  }
  .page-fishing-games-classic__hero-image-container {
    max-width: 600px;
    margin-bottom: 0;
  }
  .page-fishing-games-classic__hero-content-wrapper {
    text-align: left;
    margin-bottom: 0;
  }
  .page-fishing-games-classic__cta-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 1023px) {
  /* Game trial specific overrides for smaller desktops/tablets */
  .page-fishing-games-classic__game-trial-shell {
    max-width: 90%;
  }
  .page-fishing-games-classic__game-trial-viewport {
    padding-top: 75%; /* Maintain 4:3 aspect ratio */
  }
  /* The following rules are copied verbatim as per strict instructions for the CSS field, even if they target homepage-specific elements not present in this inner page's HTML */
  .page-fishing-games-classic__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-classic__hero-brand,
  .page-fishing-games-classic__hero-jackpot {
    display: none !important;
  }
  .page-fishing-games-classic__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-classic__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-fishing-games-classic__game-trial-topbar,
  .page-fishing-games-classic__game-trial-bottombar {
    display: none !important;
  }
  .page-fishing-games-classic__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-classic__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-classic__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-fishing-games-classic__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}