/* 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: #08162B;
}

.page-fishing-games {
  color: var(--text-main); /* Default text color for the page content */
  background-color: var(--deep-navy); /* Body background is deep navy, so text should be light */
}

.page-fishing-games__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

/* HERO Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

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

.page-fishing-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px 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: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-color);
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__intro-text {
  font-size: 1.2em;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px 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: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
  transform: translateY(-3px);
}

.page-fishing-games__cta-button--small {
  padding: 12px 30px;
  font-size: 1em;
}

/* Section Titles and Descriptions */
.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gold-color);
  border-radius: 2px;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* Content Wrapper with Image */
.page-fishing-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 50px;
}

.page-fishing-games__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-fishing-games__text-block {
  flex: 1;
}

.page-fishing-games__text-block p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.page-fishing-games__image-block {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__image-block img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
}

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

/* Card Styles */
.page-fishing-games__card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-fishing-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-fishing-games__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-fishing-games__card-text {
  font-size: 1em;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* List Styles */
.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

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

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

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

.page-fishing-games__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 30px;
  color: var(--text-secondary);
}

.page-fishing-games__numbered-list li {
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-fishing-games__numbered-list li strong {
  color: var(--text-main);
}

/* FAQ Section */
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 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
  text-align: left;
}

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: rgba(var(--primary-color), 0.2); /* Lighter hover for dark background */
}

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

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

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 25px 25px;
  background: var(--deep-navy);
  border-radius: 0 0 10px 10px;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer p {
  color: var(--text-secondary);
  font-size: 1em;
  line-height: 1.7;
}

.page-fishing-games__faq-support-link {
  color: var(--glow-color);
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  display: inline-block;
}

.page-fishing-games__faq-support-link:hover {
  text-decoration: underline;
}

.page-fishing-games__button-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Background color specific text colors */
.page-fishing-games__dark-bg h2, .page-fishing-games__dark-bg h3 {
  color: var(--gold-color);
}
.page-fishing-games__dark-bg p, .page-fishing-games__dark-bg li {
  color: var(--text-secondary);
}

.page-fishing-games__light-bg {
  background: #f8f9fa;
  color: #333333;
}
.page-fishing-games__light-bg h2, .page-fishing-games__light-bg h3 {
  color: var(--primary-color);
}
.page-fishing-games__light-bg p, .page-fishing-games__light-bg li {
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.8em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__intro-text, .page-fishing-games__section-description {
    font-size: 1.1em;
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-fishing-games__content-wrapper--reversed {
    flex-direction: column;
  }
  .page-fishing-games__image-block {
    margin-top: 30px;
  }
  .page-fishing-games__text-block {
    padding: 0 10px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section, .page-fishing-games__section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-fishing-games__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-fishing-games__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    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-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-fishing-games__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__card {
    padding: 20px;
  }
  .page-fishing-games__card-title {
    font-size: 1.3em;
  }
  .page-fishing-games__list-item {
    padding: 20px;
  }
  .page-fishing-games__list-title {
    font-size: 1.2em;
  }
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px 20px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 1em;
  }
  .page-fishing-games__faq-toggle {
    font-size: 24px;
    width: 25px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
  }
  .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,
  .page-fishing-games__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__image-block img {
    min-width: unset;
    min-height: unset;
  }
}