/* style/fishing-games.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background-main: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-main); /* Default background for the page */
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: var(--background-main);
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-fishing-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 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: var(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-fishing-games__btn-secondary:hover {
  background: rgba(17, 168, 78, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(17, 168, 78, 0.3);
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  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(--glow-color);
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__text-secondary {
  color: var(--text-secondary);
}

.page-fishing-games__light-bg {
  background-color: var(--background-main);
  color: var(--text-main);
  padding: 80px 0;
}

.page-fishing-games__dark-bg {
  background-color: var(--background-main);
  color: var(--text-main);
  padding: 80px 0;
}

.page-fishing-games__about-section .page-fishing-games__text-block {
  color: var(--text-secondary);
}

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

.page-fishing-games__feature-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-fishing-games__games-section {
  padding: 80px 0;
}

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

.page-fishing-games__game-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__game-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 20px 20px 10px;
}

.page-fishing-games__game-link {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-link:hover {
  color: var(--glow-color);
}

.page-fishing-games__game-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__card-btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-fishing-games__view-more-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-fishing-games__strategy-section {
  padding: 80px 0;
}

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

.page-fishing-games__strategy-item {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-fishing-games__strategy-item:hover {
  transform: translateY(-5px);
}

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

.page-fishing-games__strategy-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-fishing-games__strategy-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-fishing-games__guide-section {
  padding: 80px 0;
}

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

.page-fishing-games__step-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 3px solid var(--background-main);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-fishing-games__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-fishing-games__promotions-section {
  padding: 80px 0;
}

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

.page-fishing-games__promo-card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 20px 20px 10px;
}

.page-fishing-games__promo-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__features-platform-section {
  padding: 80px 0;
}

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

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

.page-fishing-games__platform-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-fishing-games__platform-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-fishing-games__faq-section {
  padding: 80px 0;
}

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

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

.page-fishing-games__faq-item[open] {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background: var(--card-bg);
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease, border-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  background-color: var(--deep-green-color);
  border-bottom-color: var(--divider-color);
}

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

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  margin-left: 15px;
  color: var(--glow-color);
}

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

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

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

.page-fishing-games__cta-bottom-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--deep-green-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, small top padding */
  }

  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-fishing-games__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

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

  .page-fishing-games__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-fishing-games__light-bg,
  .page-fishing-games__dark-bg,
  .page-fishing-games__cta-bottom-section {
    padding: 50px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__strategy-item,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-card,
  .page-fishing-games__platform-item {
    padding: 25px;
  }

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

  .page-fishing-games__game-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__platform-title {
    font-size: 1.25rem;
  }

  .page-fishing-games__game-description,
  .page-fishing-games__strategy-description,
  .page-fishing-games__step-description,
  .page-fishing-games__promo-description,
  .page-fishing-games__platform-description {
    font-size: 0.9rem;
  }

  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/videos/buttons */
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__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;
    overflow: hidden !important;
  }

  /* For video specific */
  .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-wrapper {
    padding-bottom: 56.25% !important; /* 16:9 aspect ratio for responsive video */
    position: relative;
    height: 0;
    overflow: hidden;
  }
  .page-fishing-games__video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8rem;
  }

  .page-fishing-games__section-title {
    font-size: 1.7rem;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__strategy-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__platform-title {
    font-size: 1.1rem;
  }

  .page-fishing-games__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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