/* style/fishing-games.css */

/* Custom Colors */
:root {
  --page-fishing-games-bg: #0D0E12;
  --page-fishing-games-card-bg: #17191F;
  --page-fishing-games-text-main: #FFF3E6;
  --page-fishing-games-border: #A84F0C;
  --page-fishing-games-glow: #FFB04D;
  --page-fishing-games-deep-orange: #D96800;
  --page-fishing-games-primary-color: #FF8C1A;
  --page-fishing-games-secondary-color: #FFA53A;
  --page-fishing-games-btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

.page-fishing-games {
  background-color: var(--page-fishing-games-bg);
  color: var(--page-fishing-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  color: var(--page-fishing-games-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-fishing-games__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__dark-section {
  background-color: var(--page-fishing-games-bg);
  padding: 60px 0;
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles header offset, small padding-top here */
  overflow: hidden;
  box-sizing: border-box;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.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;
  padding: 0 20px;
}

.page-fishing-games__hero-title {
  font-weight: 800;
  line-height: 1.2;
  color: var(--page-fishing-games-primary-color);
  margin-bottom: 20px;
  letter-spacing: -1px;
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* H1 font-size constraint */
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  color: var(--page-fishing-games-text-main);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-fishing-games__center-cta {
  text-align: center;
  margin-top: 40px;
}

.page-fishing-games__about-section,
.page-fishing-games__games-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__download-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
  padding: 60px 0;
}

.page-fishing-games__about-section {
  background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-fishing-games-text-main);
  height: 100%; /* Ensure cards have consistent height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-icon,
.page-fishing-games__game-image,
.page-fishing-games__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__game-image,
.page-fishing-games__promotion-image {
  width: 100%;
  height: 200px; /* Consistent height for card images */
}

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

.page-fishing-games__card-description {
  font-size: 1em;
  color: var(--page-fishing-games-text-main);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__games-section {
  background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__strategy-section {
  background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__promotions-section {
  background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__download-section {
  background-color: var(--page-fishing-games-bg);
  padding: 80px 0;
}

.page-fishing-games__download-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-fishing-games__download-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-fishing-games__download-text .page-fishing-games__section-title {
  text-align: left;
}

.page-fishing-games__download-text .page-fishing-games__text-block {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-fishing-games__app-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-fishing-games__btn-app-store,
.page-fishing-games__btn-google-play {
  flex: 1;
  min-width: 180px;
  padding: 15px 20px;
  font-size: 1.1em;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__download-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
}

.page-fishing-games__download-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__faq-section {
  background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-fishing-games-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
  background-color: rgba(255, 140, 26, 0.1);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  color: var(--page-fishing-games-primary-color);
  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: 1em;
  color: var(--page-fishing-games-text-main);
  line-height: 1.7;
}

.page-fishing-games__faq-answer p {
  margin: 0;
}

.page-fishing-games__cta-section {
  background-color: var(--page-fishing-games-bg);
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }
  .page-fishing-games__download-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-fishing-games__download-text {
    text-align: center;
  }
  .page-fishing-games__download-text .page-fishing-games__section-title,
  .page-fishing-games__download-text .page-fishing-games__text-block {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .page-fishing-games__app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__cta-buttons,
  .page-fishing-games__app-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-app-store,
  .page-fishing-games__btn-google-play,
  .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__container {
    padding: 0 15px;
  }
  .page-fishing-games__card {
    padding: 20px;
  }
  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
  }
  /* Mobile image responsive rules */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__hero-section,
  .page-fishing-games__download-section,
  .page-fishing-games__download-content,
  .page-fishing-games__download-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-fishing-games video,
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }
}