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

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-fishing-games__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

/* 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 */
  overflow: hidden;
}

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

.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.15);
}

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

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

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__intro-text {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-fishing-games__cta-button:hover {
  background: #E36B00; /* Slightly darker secondary color */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-fishing-games__section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
  position: relative;
}

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

.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__text-block--white {
  color: var(--text-light);
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 40px auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Feature Grid */
.page-fishing-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__card {
  background: var(--background-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-fishing-games__card--dark-bg {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__card--dark-bg .page-fishing-games__card-title {
  color: var(--text-light);
}

.page-fishing-games__card-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Guide Section */
.page-fishing-games__guide-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__guide-step {
  background: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-fishing-games__guide-step-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__guide-step p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-fishing-games__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  background: #E36B00;
}

/* Strategy Grid */
.page-fishing-games__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: var(--text-light);
  text-decoration: none;
  border: 2px solid var(--text-light);
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
}

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

/* Benefit List */
.page-fishing-games__benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-fishing-games__benefit-item {
  background: var(--background-light);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-fishing-games__benefit-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.page-fishing-games__benefit-text h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__benefit-text p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* 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(--background-light);
  color: var(--text-dark);
}

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: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}

.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: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

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

.page-fishing-games__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* CTA Section */
.page-fishing-games__section--cta {
  background: linear-gradient(135deg, var(--primary-color), #007bff);
  padding: 100px 20px;
  color: var(--text-light);
}

.page-fishing-games__cta-container {
  max-width: 900px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image img {
    border-radius: 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }

  .page-fishing-games__intro-text {
    font-size: 1.1rem;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

  .page-fishing-games__cta-button {
    padding: 12px 30px;
    font-size: 1rem;
    margin-top: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section {
    padding: 60px 15px;
  }

  .page-fishing-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 0.95rem;
  }

  .page-fishing-games__image-content {
    margin: 30px auto 15px auto;
    border-radius: 8px;
  }

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

  .page-fishing-games__feature-grid, .page-fishing-games__strategy-grid {
    gap: 20px;
  }

  .page-fishing-games__card {
    padding: 20px;
    text-align: center;
    align-items: center;
  }
  
  .page-fishing-games__card-title {
    font-size: 1.4rem;
  }

  .page-fishing-games__card-text {
    font-size: 0.9rem;
  }

  .page-fishing-games__guide-step {
    padding: 20px;
  }

  .page-fishing-games__guide-step-title {
    font-size: 1.5rem;
  }

  .page-fishing-games__benefit-list {
    gap: 20px;
  }

  .page-fishing-games__benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-fishing-games__benefit-icon {
    margin-bottom: 10px;
  }

  .page-fishing-games__benefit-text h3 {
    font-size: 1.2rem;
  }

  .page-fishing-games__benefit-text p {
    font-size: 0.85rem;
  }

  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }

  .page-fishing-games__faq-qtext {
    font-size: 1rem;
  }

  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.9rem;
  }
  
  .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,
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-fishing-games__cta-buttons {
    display: flex;
    flex-direction: column; 
  }

  /* Ensure no content causes horizontal scroll */
  .page-fishing-games {
    overflow-x: hidden;
  }
}

/* Color Contrast Fixes (if needed, applied automatically based on background) */
.page-fishing-games__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-fishing-games__dark-bg .page-fishing-games__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.page-fishing-games__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-fishing-games__light-bg .page-fishing-games__card {
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* Ensure min image size in content area */
.page-fishing-games__image-content, .page-fishing-games__card-image {
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__benefit-icon {
  min-width: 60px;
  min-height: 60px;
}

/* Content area images CSS size lower bound */
.page-fishing-games img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
  min-width: 200px;
  min-height: 200px;
}

@media (max-width: 768px) {
  .page-fishing-games img:not(.shared-header__logo):not(.shared-footer__payment-icon):not(.shared-footer__social-icon):not(.shared-footer__game-provider-icon) {
    min-width: 200px !important;
    min-height: 200px !important;
  }
}