/* style/fishing-games.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --button-login: #EA7C07;
  --background-light: #f8f9fa;
  --border-color: #e0e0e0;
}

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

.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.3;
}

.page-fishing-games__section-description {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO Section */
.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, body handles header offset */
  background-color: var(--background-light);
}

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

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-fishing-games__hero-content h1 {
  font-size: clamp(28px, 4vw, 48px); /* Responsive H1 font size */
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__hero-content p {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-login); /* Use specific login color */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  background: #e06c00;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.page-fishing-games__introduction .page-fishing-games__text-block {
  text-align: left;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-fishing-games__introduction .page-fishing-games__text-block p {
  margin-bottom: 20px;
}

.page-fishing-games__introduction .page-fishing-games__text-block a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-fishing-games__introduction .page-fishing-games__text-block a:hover {
  text-decoration: underline;
}

/* Game Types Section */
.page-fishing-games__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__dark-section .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.9);
}

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

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

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

.page-fishing-games__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  padding: 15px 20px 10px;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
  font-size: 15px;
  color: var(--text-dark);
  padding: 0 20px 20px;
}

.page-fishing-games__game-card .page-fishing-games__card-description a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-fishing-games__game-card .page-fishing-games__card-description a:hover {
  text-decoration: underline;
}

.page-fishing-games__button-group {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 35px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: 2px solid;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
  background: #1e87b8;
  border-color: #1e87b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tips & Strategies Section */
.page-fishing-games__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-fishing-games__strategy-card {
  background: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games__strategy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.page-fishing-games__strategy-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__strategy-card p {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
}

.page-fishing-games__strategy-card p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-fishing-games__strategy-card p a:hover {
  text-decoration: underline;
}

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

.page-fishing-games__benefit-item {
  background: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-dark);
}

.page-fishing-games__benefit-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__benefit-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure img is block for proper width/height */
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__benefit-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__benefit-item p {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
}

.page-fishing-games__benefit-item p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-fishing-games__benefit-item p a:hover {
  text-decoration: underline;
}

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

.page-fishing-games__step-card {
  background: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  border: 1px solid var(--border-color);
}

.page-fishing-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-fishing-games__step-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-card p {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
}

.page-fishing-games__step-card p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-fishing-games__step-card p a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--secondary-color);
}

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: var(--text-dark);
}

.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: var(--background-light);
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-fishing-games__faq-answer p {
  margin: 0;
}

.page-fishing-games__faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.page-fishing-games__faq-answer p a:hover {
  text-decoration: underline;
}

/* Call to Action Section (Re-used from Hero for consistency) */
.page-fishing-games__call-to-action {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 20px;
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
  color: var(--text-light);
}

.page-fishing-games__call-to-action .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__call-to-action .page-fishing-games__cta-button {
  background: var(--button-login);
  border-color: var(--button-login);
}

.page-fishing-games__call-to-action .page-fishing-games__cta-button:hover {
  background: #e06c00;
  border-color: #e06c00;
}

.page-fishing-games__call-to-action .page-fishing-games__btn-secondary {
  background: var(--text-light);
  color: var(--primary-color);
  border-color: var(--text-light);
}

.page-fishing-games__call-to-action .page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  border-color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 30px;
  }
  .page-fishing-games__section-description {
    font-size: 16px;
  }
  .page-fishing-games__game-card img {
    
  }
}

@media (max-width: 768px) {
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-fishing-games__section,
  .page-fishing-games__container,
  .page-fishing-games__game-card,
  .page-fishing-games__strategy-card,
  .page-fishing-games__benefit-item,
  .page-fishing-games__step-card,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  
  .page-fishing-games__hero-content h1 {
    font-size: 28px;
  }
  
  .page-fishing-games__hero-content p {
    font-size: 16px;
  }

  .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__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important;
    gap: 15px;
  }

  .page-fishing-games__section-title {
    font-size: 24px;
  }

  .page-fishing-games__section-description {
    font-size: 15px;
  }

  .page-fishing-games__game-grid,
  .page-fishing-games__strategy-grid,
  .page-fishing-games__benefits-grid,
  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr;
  }
  
  .page-fishing-games__game-card img {
    
  }

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

@media (max-width: 480px) {
  .page-fishing-games__section {
    padding: 30px 10px;
  }
  .page-fishing-games__hero-content h1 {
    font-size: 26px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-fishing-games__game-card .page-fishing-games__card-title {
    font-size: 20px;
  }
  .page-fishing-games__game-card .page-fishing-games__card-description {
    font-size: 14px;
  }
  .page-fishing-games__step-number {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
}