/* style/fishing-games.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --accent-color-login: #EA7C07;
  --background-white: #FFFFFF;
  --background-dark: #000000;
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background-white);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Adjusted font size */
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  color: var(--dark-text-color);
  margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

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

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

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-fishing-games__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.3;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

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

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__game-title,
.page-fishing-games__dark-bg .page-fishing-games__tip-title,
.page-fishing-games__dark-bg .page-fishing-games__security-title {
  color: var(--light-text-color);
}

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

.page-fishing-games__intro-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__games-showcase-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
}

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

.page-fishing-games__feature-item,
.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: var(--background-white);
  color: var(--dark-text-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__dark-bg .page-fishing-games__feature-item,
.page-fishing-games__dark-bg .page-fishing-games__game-card,
.page-fishing-games__dark-bg .page-fishing-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-text-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-item:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-icon,
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
  width: 100%;
  max-width: 250px; /* Adjust max-width for icons/images in cards */
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-fishing-games__game-image,
.page-fishing-games__promo-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__promo-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__game-title,
.page-fishing-games__dark-bg .page-fishing-games__promo-title {
  color: var(--light-text-color);
}

.page-fishing-games__feature-description,
.page-fishing-games__game-description,
.page-fishing-games__promo-description {
  font-size: 0.95em;
  color: var(--dark-text-color);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__dark-bg .page-fishing-games__feature-description,
.page-fishing-games__dark-bg .page-fishing-games__game-description,
.page-fishing-games__dark-bg .page-fishing-games__promo-description {
  color: var(--light-text-color);
}

.page-fishing-games__step-list,
.page-fishing-games__tips-list,
.page-fishing-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  gap: 25px;
}

.page-fishing-games__step-item,
.page-fishing-games__tip-item,
.page-fishing-games__security-item {
  background-color: var(--background-white);
  color: var(--dark-text-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

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

.page-fishing-games__step-title,
.page-fishing-games__tip-title,
.page-fishing-games__security-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__dark-bg .page-fishing-games__step-title,
.page-fishing-games__dark-bg .page-fishing-games__tip-title,
.page-fishing-games__dark-bg .page-fishing-games__security-title {
  color: var(--light-text-color);
}

.page-fishing-games__step-description,
.page-fishing-games__tip-description,
.page-fishing-games__security-description {
  font-size: 1em;
  color: var(--dark-text-color);
}

.page-fishing-games__dark-bg .page-fishing-games__step-description,
.page-fishing-games__dark-bg .page-fishing-games__tip-description,
.page-fishing-games__dark-bg .page-fishing-games__security-description {
  color: var(--light-text-color);
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

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

.page-fishing-games__faq-item {
  background-color: var(--background-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
  user-select: none;
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  color: var(--light-text-color);
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--dark-text-color);
  background-color: var(--background-white);
}

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

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

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

/* Responsive styles */
@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, small top padding for section */
  }

  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .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;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-fishing-games__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__games-showcase-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__step-item,
  .page-fishing-games__tip-item,
  .page-fishing-games__security-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__feature-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    max-width: 100%;
    height: auto;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 180px; /* Adjust height for mobile cards */
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__step-title,
  .page-fishing-games__tip-title,
  .page-fishing-games__security-title {
    font-size: 1.2em;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-fishing-games__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }
}