/* style/fishing-games.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0a0a0a; /* Body background from shared.css */
  --btn-login-bg: #EA7C07;
}

.page-fishing-games {
  color: var(--text-light); /* Dark body background, so light text */
  background-color: var(--bg-dark);
  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;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  color: var(--text-light);
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit hero image height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  position: relative; /* Ensure content is above image if z-index is used, but we avoid overlaying */
  max-width: 900px;
  margin-top: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Slightly darker background for text readability */
  border-radius: 10px;
}

.page-fishing-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-fishing-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-fishing-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.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, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

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

.page-fishing-games__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

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

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games__game-card,
.page-fishing-games__advantage-item {
  background: rgba(255, 255, 255, 0.1); /* Light translucent on dark background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.page-fishing-games__game-card .page-fishing-games__card-image,
.page-fishing-games__advantage-item .page-fishing-games__advantage-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

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

.page-fishing-games__game-card .page-fishing-games__card-text {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--btn-login-bg); /* Use login button color */
  color: var(--secondary-color);
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start; /* Align button to start of card */
}

.page-fishing-games__card-button:hover {
  background-color: #c76706;
}

.page-fishing-games__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: left;
}

.page-fishing-games__guide-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

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

.page-fishing-games__guide-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__guide-item ol,
.page-fishing-games__guide-item ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-fishing-games__guide-item li {
  margin-bottom: 10px;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-fishing-games__faq-item {
  background: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-dark);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
  background-color: #f0f0f0;
}

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

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

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

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

.page-fishing-games__faq-answer {
  padding: 20px 25px;
  background-color: var(--secondary-color);
  border-top: 1px solid #e0e0e0;
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-dark);
}

.page-fishing-games__conclusion-section .page-fishing-games__section-description {
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 2.5em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-fishing-games__hero-section {
    padding: 10px 15px 40px;
  }

  .page-fishing-games__hero-content {
    margin-top: 30px;
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: 2em;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__game-list,
  .page-fishing-games__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__game-card,
  .page-fishing-games__advantage-item {
    padding: 20px;
  }

  .page-fishing-games__game-card .page-fishing-games__card-image,
  .page-fishing-games__advantage-item .page-fishing-games__advantage-image {
    height: 180px;
  }

  .page-fishing-games__card-title,
  .page-fishing-games__advantage-title {
    font-size: 1.3em;
  }

  .page-fishing-games__guide-item {
    padding: 20px;
  }

  .page-fishing-games__guide-title {
    font-size: 1.5em;
  }

  .page-fishing-games__guide-image {
    max-height: 300px;
  }

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

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

  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure video containers are responsive */
  .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;
  }
}