/* style/fishing-games.css */

:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --card-bg: #111111;
  --page-bg: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
}

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

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is for visual spacing */
  background-color: #000;
  overflow: hidden;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px; /* Limit max height for desktop */
  margin-bottom: 40px;
}

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

.page-fishing-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-fishing-games__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main);
}

.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 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.2);
}

.page-fishing-games__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--page-bg);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 211, 107, 0.4);
}

.page-fishing-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-fishing-games__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: var(--primary-color);
  margin-bottom: 25px;
  font-weight: 600;
}

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

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

.page-fishing-games__intro-section,
.page-fishing-games__download-section,
.page-fishing-games__game-types-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__register-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
  padding: 60px 0;
}

.page-fishing-games__card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-fishing-games__dark-section {
  background-color: var(--primary-color);
  color: #ffffff; /* Forced white text for contrast */
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__text-block {
  color: #ffffff;
  text-shadow: none;
}

/* Download Section */
.page-fishing-games__download-flex-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.page-fishing-games__download-steps {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__download-steps ol,
.page-fishing-games__download-steps ul {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-fishing-games__download-steps li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-fishing-games__download-steps li strong {
  color: var(--primary-color);
}

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

.page-fishing-games__download-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-download {
  width: auto;
  margin-top: 20px;
}

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

.page-fishing-games__game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-fishing-games__card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Strategy Section */
.page-fishing-games__strategy-flex-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap-reverse; /* Image below text on mobile */
}

.page-fishing-games__strategy-list {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__strategy-list ul {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: var(--text-main);
}

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

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

.page-fishing-games__strategy-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__promo-card-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

/* Why Choose Section */
.page-fishing-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-fishing-games__benefit-item {
  text-align: center;
  padding: 30px;
}

.page-fishing-games__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 211, 107, 0.5));
}

/* Register Section */
.page-fishing-games__register-section {
  text-align: center;
  padding: 80px 0;
}

.page-fishing-games__register-steps {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-fishing-games__register-steps li {
  position: relative;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-fishing-games__register-steps li::before {
  content: '✓';
  color: #ffffff;
  font-weight: bold;
  margin-right: 10px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--primary-color);
  list-style: none; /* Remove default marker */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-item[open] summary {
  background-color: rgba(255, 211, 107, 0.05);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--secondary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  content: '−';
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-main);
}

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

.page-fishing-games__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image {
    max-height: 600px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-fishing-games__hero-image {
    max-height: 400px;
    margin-bottom: 30px;
  }

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

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-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: 2em;
    margin-bottom: 30px;
  }

  .page-fishing-games__sub-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__download-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__register-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__conclusion-section {
    padding: 40px 0;
  }

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

  /* Mobile image/video/container overrides */
  .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__download-flex-wrapper,
  .page-fishing-games__strategy-flex-wrapper,
  .page-fishing-games__game-cards,
  .page-fishing-games__promo-cards,
  .page-fishing-games__benefits-grid,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-fishing-games__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-fishing-games__download-flex-wrapper,
  .page-fishing-games__strategy-flex-wrapper {
    flex-direction: column; /* Stack elements vertically */
    gap: 30px;
  }

  .page-fishing-games__download-steps,
  .page-fishing-games__download-image-wrapper,
  .page-fishing-games__strategy-list,
  .page-fishing-games__strategy-image-wrapper {
    width: 100%;
    min-width: unset;
  }

  .page-fishing-games__game-card-image {
    height: 180px;
  }

  .page-fishing-games__benefit-icon {
    width: 80px;
    height: 80px;
  }

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

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