/* style/fishing-games.css */

:root {
  --primary-color: #113B7A;
  --secondary-color: #1D5FD1;
  --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  --card-bg: #10233F;
  --text-main: #F3F8FF;
  --text-secondary: #AFC4E8;
  --border-color: #244D84;
  --glow-color: #4FA8FF;
  --gold-color: #F2C14E;
  --divider-color: #1B3357;
  --deep-navy-color: #08162B;
}

.page-fishing-games {
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--deep-navy-color); /* Inherited from body or set here for clarity */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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(--deep-navy-color);
}

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

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Using clamp for responsive H1 */
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-fishing-games__cta-button--secondary {
  background: none;
  border: 2px solid var(--secondary-color);
  color: var(--text-secondary);
  box-shadow: none;
}

.page-fishing-games__cta-button--secondary:hover {
  background: rgba(29, 95, 209, 0.1);
  box-shadow: 0 0 15px var(--secondary-color);
}

.page-fishing-games__cta-button--large {
  padding: 18px 50px;
  font-size: 20px;
}

.page-fishing-games__section {
  padding: 80px 20px;
  background-color: var(--deep-navy-color);
}

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

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

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

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

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

.page-fishing-games__grid-layout--two-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-fishing-games__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
}

.page-fishing-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(29, 95, 209, 0.5);
}

.page-fishing-games__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce min size */
  min-width: 200px; /* Enforce min size */
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games__card-text {
  font-size: 1em;
  color: var(--text-secondary);
  text-align: justify;
}

.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__list-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-fishing-games__list-item h3.page-fishing-games__list-title {
  color: var(--gold-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-fishing-games__list-item p {
  color: var(--text-secondary);
  font-size: 1.05em;
}

.page-fishing-games__numbered-list {
  list-style: none;
  counter-reset: my-awesome-counter;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__numbered-list .page-fishing-games__list-item {
  position: relative;
  padding-left: 60px;
  text-align: left;
}

.page-fishing-games__numbered-list .page-fishing-games__list-item::before {
  counter-increment: my-awesome-counter;
  content: counter(my-awesome-counter);
  background-color: var(--secondary-color);
  color: var(--text-main);
  font-size: 1.5em;
  font-weight: bold;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__provider-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-fishing-games__provider-name {
  font-size: 1.3em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

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

.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 {
  text-align: left;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__card--promo .page-fishing-games__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-fishing-games__promo-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--button-gradient);
  color: var(--text-main);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__promo-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__text-block--note {
  font-size: 0.9em;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 40px;
  opacity: 0.8;
}

.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-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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: rgba(29, 95, 209, 0.1);
}

.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}

.page-fishing-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 32px;
  text-align: center;
  line-height: 1;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 25px;
  background: rgba(16, 35, 63, 0.8);
  border-radius: 0 0 10px 10px;
  color: var(--text-secondary);
  font-size: 1.05em;
}

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

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

.page-fishing-games__container--conclusion {
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__grid-layout--two-cols {
    grid-template-columns: 1fr;
  }
}

@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 img {
    border-radius: 8px;
  }

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

  .page-fishing-games__hero-description {
    font-size: 1em;
  }

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-fishing-games__cta-button,
  .page-fishing-games__cta-button--secondary,
  .page-fishing-games__promo-button,
  .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__hero-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__section {
    padding: 50px 15px;
  }

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

  .page-fishing-games__text-block {
    font-size: 1em;
  }

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

  .page-fishing-games__card {
    padding: 20px;
  }

  .page-fishing-games__card img {
    min-width: unset;
    min-height: unset;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__list-item,
  .page-fishing-games__provider-item {
    padding: 20px;
  }

  .page-fishing-games__numbered-list .page-fishing-games__list-item {
    padding-left: 50px;
  }

  .page-fishing-games__numbered-list .page-fishing-games__list-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
    top: 15px;
  }

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

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

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

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

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

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

  .page-fishing-games__container,
  .page-fishing-games__card,
  .page-fishing-games__section,
  .page-fishing-games__promo-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure all images are responsive and do not cause overflow */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}