/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--deep-navy); /* Body background from shared.css */
}

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

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text-main);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-fishing-games__sub-title {
  font-size: clamp(22px, 3vw, 36px);
  color: var(--text-main);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-fishing-games__text-block {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__link {
  color: var(--auxiliary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games__link:hover {
  text-decoration: underline;
  color: var(--glow);
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles header offset, this is decorative top padding */
  overflow: hidden;
  color: var(--text-main);
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  max-width: 1920px;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly for visual effect, but not over image content */
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 60px);
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(79, 168, 255, 0.5);
}

.page-fishing-games__subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__cta-buttons--center {
  margin-top: 30px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(17, 68, 166, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 68, 166, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--glow);
  color: var(--deep-navy);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 168, 255, 0.4);
}

/* List Styles */
.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-fishing-games__list-item {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-fishing-games__list-item::before {
  content: '✔';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
}

.page-fishing-games__list--numbered {
  list-style: decimal;
  padding-left: 40px;
}

.page-fishing-games__list--numbered .page-fishing-games__list-item::before {
  content: none;
}

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

.page-fishing-games__card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

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

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block; /* Ensure it respects width/height */
}

.page-fishing-games__card-icon {
  width: 100px; /* Ensure icons are not too small */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  margin-top: auto;
  width: auto; /* Allow button to size naturally */
}

/* How to Play Section */
.page-fishing-games__image-full-width {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: block;
}

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

.page-fishing-games__card--promo .page-fishing-games__card-image {
  height: 220px;
}

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

.page-fishing-games__card--info .page-fishing-games__card-icon {
  width: 150px;
  height: 150px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-fishing-games__faq-item[open] {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background: var(--card-bg);
  position: relative;
  user-select: none;
}

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

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
  color: var(--text-main);
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  line-height: 1;
  margin-left: 15px;
  color: var(--gold);
  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: 0 25px 20px 25px;
  font-size: 17px;
  color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 30px 20px;
  }

  .page-fishing-games__section-title {
    font-size: clamp(26px, 3.5vw, 42px);
  }

  .page-fishing-games__sub-title {
    font-size: clamp(20px, 2.5vw, 32px);
  }

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

  .page-fishing-games__card-title {
    font-size: 22px;
  }

  .page-fishing-games__card-text {
    font-size: 15px;
  }

  .page-fishing-games__faq-question {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
    border-radius: 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(28px, 6vw, 45px);
  }

  .page-fishing-games__subtitle {
    font-size: clamp(16px, 3vw, 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"] {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
    padding: 12px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }

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

  .page-fishing-games__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  .page-fishing-games__sub-title {
    font-size: clamp(18px, 4vw, 28px);
  }

  .page-fishing-games__text-block,
  .page-fishing-games__list-item,
  .page-fishing-games__card-text {
    font-size: 16px;
  }

  .page-fishing-games__card-image,
  .page-fishing-games__card-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__card,
  .page-fishing-games__section,
  .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__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-fishing-games__faq-toggle {
    font-size: 24px;
  }

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

  .page-fishing-games__list--numbered {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    padding: 20px 10px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(24px, 7vw, 38px);
  }

  .page-fishing-games__subtitle {
    font-size: clamp(15px, 4vw, 18px);
  }

  .page-fishing-games__section-title {
    font-size: clamp(22px, 6vw, 32px);
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 10px 15px !important;
    font-size: 15px !important;
  }

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

  .page-fishing-games__faq-question {
    font-size: 15px;
  }
}