:root {
  --primary-color: #F2C14E; /* Main color */
  --secondary-color: #FFD36B; /* Auxiliary color */
  --background-dark: #0A0A0A; /* Background */
  --card-background: #111111; /* Card BG */
  --text-main: #FFF6D6; /* Text Main */
  --border-color: #3A2A12; /* Border */
  --glow-color: #FFD36B; /* Glow */
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  --white-text: #ffffff;
  --dark-text: #333333;
  --primary-color-rgb: 242, 193, 78; /* RGB for primary color for rgba usage */
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-dark); /* Body background is dark, so text should be light */
  line-height: 1.6;
}

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

/* Headings */
.page-fishing-games h1,
.page-fishing-games h2,
.page-fishing-games h3 {
  color: var(--secondary-color); /* Headings use secondary color for emphasis */
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-fishing-games h1 {
  /* No fixed font-size for H1, rely on clamp for responsiveness */
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Soft glow effect */
}

.page-fishing-games h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-fishing-games h3 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 500;
  color: var(--primary-color); /* Subheadings use primary color */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-fishing-games p {
  margin-bottom: 15px;
  text-align: justify;
  color: var(--text-main);
}

/* Links */
.page-fishing-games a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.page-fishing-games a:hover {
  color: var(--secondary-color);
  text-shadow: 0 0 5px var(--secondary-color);
}

/* Buttons */
.page-fishing-games__cta-button,
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  color: var(--white-text); /* Buttons have white text */
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button,
.page-fishing-games__btn-primary {
  background: var(--button-gradient);
}

.page-fishing-games__cta-button:hover,
.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-fishing-games__cta-button--secondary,
.page-fishing-games__btn-secondary {
  background: var(--card-background);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.page-fishing-games__cta-button--secondary:hover,
.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white-text);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--primary-color);
  transform: translateY(-3px);
}

/* Sections */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding for hero section */
  background-color: var(--background-dark);
}

.page-fishing-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-fishing-games__hero-content p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 20px auto 30px auto;
  color: var(--text-main);
}

.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
  background-color: var(--background-dark);
  padding: 60px 0;
}

.page-fishing-games__features-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__safety-support-section {
  background-color: #0d0d0d; /* Slightly lighter dark background */
  padding: 60px 0;
}

.page-fishing-games__dark-bg {
  background-color: var(--background-dark);
}

.page-fishing-games__image-wrapper {
  margin: 40px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  max-width: 900px;
}

.page-fishing-games__image-wrapper--center {
  text-align: center;
}

.page-fishing-games__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

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

.page-fishing-games__card {
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-fishing-games__card h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.4em;
}

/* Step List */
.page-fishing-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__step-list li {
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--text-main);
}

.page-fishing-games__step-list li h3 {
  color: var(--primary-color);
  text-align: left;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.page-fishing-games__step-list li .page-fishing-games__btn-primary {
  margin-top: 20px;
}

/* Game Cards Grid */
.page-fishing-games__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__game-card {
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: var(--text-main);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for game images */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__game-card h3 {
  color: var(--primary-color);
  margin: 20px 15px 10px;
  font-size: 1.3em;
}

.page-fishing-games__game-card p {
  padding: 0 15px 20px;
  font-size: 0.95em;
  text-align: center;
}

.page-fishing-games__game-card .page-fishing-games__btn-secondary {
  margin: 0 15px 25px;
  width: calc(100% - 30px);
  padding: 12px 20px;
  font-size: 16px;
}

/* Promotions List */
.page-fishing-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__promotion-list li {
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-fishing-games__promotion-list li h3 {
  color: var(--primary-color);
  text-align: left;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.4em;
}

.page-fishing-games__promotions-section .page-fishing-games__cta-button {
  margin-top: 40px;
  display: block;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

/* Safety and Support */
.page-fishing-games__safety-support-section {
  text-align: center;
}

.page-fishing-games__safety-support-section p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  text-align: center;
}

.page-fishing-games__support-info {
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin: 30px auto;
  max-width: 600px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-fishing-games__support-info p {
  margin: 5px 0;
  font-size: 1.1em;
  text-align: center;
}

.page-fishing-games__safety-support-section .page-fishing-games__cta-button {
  margin-top: 30px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
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: var(--primary-color);
}
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: rgba(var(--primary-color-rgb), 0.1); /* Use a slightly lighter hover for dark background */
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main); /* FAQ question text */
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Toggle icon color */
  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 25px;
  background: rgba(17, 17, 17, 0.8); /* Slightly transparent card background */
  border-radius: 0 0 10px 10px;
  color: var(--text-main);
}
.page-fishing-games__faq-answer p {
  text-align: left;
  margin-top: 10px;
}

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

.page-fishing-games__image-wrapper,
.page-fishing-games__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 20px 15px;
  }

  .page-fishing-games h1 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .page-fishing-games h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .page-fishing-games h3 {
    font-size: clamp(20px, 5vw, 26px);
  }

  .page-fishing-games p {
    font-size: 15px;
  }

  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-fishing-games__hero-image {
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .page-fishing-games__hero-image img {
    border-radius: 8px;
  }

  .page-fishing-games__hero-content p {
    font-size: 1em;
    margin: 15px auto 20px auto;
  }

  .page-fishing-games__cta-button,
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__card,
  .page-fishing-games__step-list li,
  .page-fishing-games__game-card,
  .page-fishing-games__promotion-list li,
  .page-fishing-games__support-info {
    padding: 20px;
    border-radius: 8px;
  }

  .page-fishing-games__game-card img {
    
  }

  .page-fishing-games__game-card .page-fishing-games__btn-secondary {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .page-fishing-games__promotions-section .page-fishing-games__cta-button {
    max-width: 100%;
  }

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

  /* Ensure all images and containers are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__image-wrapper,
  .page-fishing-games__hero-container,
  .page-fishing-games__hero-image,
  .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__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}