/* Base styles for the fishing games page */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #F2FFF6); /* Light text on dark background */
  background: var(--background, #08160F);
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-fishing-games__section-subtitle {
  font-size: 18px;
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
}

.page-fishing-games__text-block {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn--secondary {
  background: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-fishing-games__btn--secondary:hover {
  background: var(--border, #2E7A4E);
  color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-fishing-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  position: relative; /* Ensure text is below image in normal flow */
  z-index: 1;
  max-width: 800px;
}

.page-fishing-games__hero-title {
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 800;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.page-fishing-games__about-section {
  padding: 60px 0;
  background: var(--card-bg, #11271B);
  margin-bottom: 40px;
  border-radius: 12px;
}

.page-fishing-games__about-section .page-fishing-games__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__about-section .page-fishing-games__section-title {
  margin-bottom: 30px;
  color: var(--gold, #F2C14E);
}

.page-fishing-games__about-section .page-fishing-games__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__about-section .page-fishing-games__btn {
  margin-top: 30px;
}

/* Featured Games Section */
.page-fishing-games__featured-games {
  padding: 60px 0;
  margin-bottom: 40px;
}

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

.page-fishing-games__game-card {
  background: var(--card-bg, #11271B);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid var(--divider, #1E3A2A);
  margin-bottom: 15px;
}

.page-fishing-games__game-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__game-card-description {
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-fishing-games__game-trial-frame {
  border: none;
  background: #0d1a15;
  border-radius: 8px;
  margin: 0 auto 20px;
  display: block;
  max-width: calc(100% - 30px);
}

.page-fishing-games__game-card-button {
  margin-top: auto;
  margin-bottom: 0;
  max-width: calc(100% - 30px);
  margin-left: auto;
  margin-right: auto;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 60px 0;
  background: var(--card-bg, #11271B);
  margin-bottom: 40px;
  border-radius: 12px;
}

.page-fishing-games__guide-section .page-fishing-games__section-title {
  color: var(--gold, #F2C14E);
}

.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(--deep-green, #0A4B2C);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
}

.page-fishing-games__guide-section .page-fishing-games__btn {
  margin-top: 40px;
  display: block;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-fishing-games__strategy-section .page-fishing-games__section-title {
  color: var(--gold, #F2C14E);
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-fishing-games__strategy-item {
  background: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__strategy-item-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-fishing-games__strategy-item-description {
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
  background: var(--card-bg, #11271B);
  margin-bottom: 40px;
  border-radius: 12px;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title {
  color: var(--gold, #F2C14E);
}

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

.page-fishing-games__promo-card {
  background: var(--deep-green, #0A4B2C);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid var(--divider, #1E3A2A);
  margin-bottom: 15px;
}

.page-fishing-games__promo-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__promo-card-description {
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn {
  margin-top: auto;
  margin-bottom: 0;
  max-width: calc(100% - 30px);
  margin-left: auto;
  margin-right: auto;
}

/* Mobile App Section */
.page-fishing-games__mobile-app-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-fishing-games__mobile-app-section .page-fishing-games__section-title {
  color: var(--gold, #F2C14E);
}

.page-fishing-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-fishing-games__mobile-text {
  flex: 1;
}

.page-fishing-games__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-fishing-games__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

.page-fishing-games__mobile-text .page-fishing-games__btn {
  margin-top: 30px;
}

/* Support Section */
.page-fishing-games__support-section {
  padding: 60px 0;
  background: var(--card-bg, #11271B);
  margin-bottom: 40px;
  border-radius: 12px;
}

.page-fishing-games__support-section .page-fishing-games__section-title {
  color: var(--gold, #F2C14E);
}

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

.page-fishing-games__feature-item {
  background: var(--deep-green, #0A4B2C);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-fishing-games__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
}

.page-fishing-games__feature-description {
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
}

.page-fishing-games__support-section .page-fishing-games__btn {
  margin-top: 40px;
  display: block;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
  margin-bottom: 40px;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
  color: var(--gold, #F2C14E);
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border, #2E7A4E);
  background: var(--card-bg, #11271B);
  overflow: hidden;
}

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;
}

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: var(--deep-green, #0A4B2C);
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F2FFF6);
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 20px;
  background: var(--deep-green, #0A4B2C);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary, #A7D9B8);
}

/* General image styling for content areas */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-fishing-games__hero-title {
    font-size: clamp(28px, 5vw, 48px);
  }

  .page-fishing-games__hero-description {
    font-size: clamp(15px, 2vw, 20px);
  }

  .page-fishing-games__mobile-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-fishing-games__mobile-image-wrapper {
    order: -1; /* Image on top for mobile */
  }

  .page-fishing-games__game-card-image, .page-fishing-games__promo-card-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  /* General mobile container padding and font sizes */
  .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-fishing-games__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-fishing-games__text-block {
    font-size: 15px;
  }

  /* Hero Section */
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    margin-bottom: 20px;
  }

  .page-fishing-games__hero-image {
    max-height: 400px; /* Adjust max height for mobile banner */
    object-fit: contain; /* Ensure full image is visible */
  }

  .page-fishing-games__hero-content {
    padding: 20px 15px;
  }

  .page-fishing-games__hero-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-fishing-games__btn {
    padding: 10px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* About Section */
  .page-fishing-games__about-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  /* Featured Games Section */
  .page-fishing-games__featured-games {
    padding: 30px 0;
    margin-bottom: 20px;
  }

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

  .page-fishing-games__game-card-title {
    font-size: 20px;
  }

  .page-fishing-games__game-card-description {
    font-size: 14px;
  }

  .page-fishing-games__game-trial-frame {
    height: 250px;
    max-width: calc(100% - 20px);
  }

  .page-fishing-games__game-card-button {
    max-width: calc(100% - 20px);
  }

  /* Guide Section */
  .page-fishing-games__guide-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-fishing-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__step-title {
    font-size: 20px;
  }

  .page-fishing-games__step-description {
    font-size: 14px;
  }

  .page-fishing-games__guide-section .page-fishing-games__btn {
    margin-top: 30px;
    max-width: 100%;
  }

  /* Strategy Section */
  .page-fishing-games__strategy-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-fishing-games__strategy-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__strategy-item-title {
    font-size: 20px;
  }

  .page-fishing-games__strategy-item-description {
    font-size: 14px;
  }

  /* Promotions Section */
  .page-fishing-games__promotions-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__promo-card-title {
    font-size: 20px;
  }

  .page-fishing-games__promo-card-description {
    font-size: 14px;
  }

  .page-fishing-games__promo-card .page-fishing-games__btn {
    max-width: calc(100% - 20px);
  }

  /* Mobile App Section */
  .page-fishing-games__mobile-app-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-fishing-games__mobile-content {
    margin-top: 30px;
  }

  .page-fishing-games__mobile-text .page-fishing-games__btn {
    margin-top: 20px;
  }

  /* Support Section */
  .page-fishing-games__support-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-fishing-games__support-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games__feature-title {
    font-size: 20px;
  }

  .page-fishing-games__feature-description {
    font-size: 14px;
  }

  .page-fishing-games__support-section .page-fishing-games__btn {
    margin-top: 30px;
    max-width: 100%;
  }

  /* FAQ Section */
  .page-fishing-games__faq-section {
    padding: 30px 0;
    margin-bottom: 20px;
  }

  .page-fishing-games__faq-list {
    margin-top: 30px;
  }

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

  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }

  .page-fishing-games__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 24px;
  }

  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }

  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__game-card-image, .page-fishing-games__promo-card-image {
    height: auto !important; /* Allow auto height for responsive */
  }

  /* Ensure all containers containing images or buttons are responsive */
  .page-fishing-games__hero-section,
  .page-fishing-games__about-section,
  .page-fishing-games__featured-games,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__mobile-app-section,
  .page-fishing-games__support-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__game-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__strategy-list,
  .page-fishing-games__promo-grid,
  .page-fishing-games__support-features,
  .page-fishing-games__mobile-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}