/* style/fishing-games.css */

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

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

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

/* Sections */
.page-fishing-games__hero-section,
.page-fishing-games__introduction-section,
.page-fishing-games__advantages-section,
.page-fishing-games__top-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__mobile-section,
.page-fishing-games__video-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-fishing-games__card-bg {
  background-color: var(--a99-card-bg);
  color: var(--a99-text-main);
}

/* Titles */
.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: bold;
  color: var(--a99-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: bold;
  color: var(--a99-text-main);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.page-fishing-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--a99-button-gradient);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 30px;
  color: var(--a99-text-main);
}

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

/* Buttons */
.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;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--a99-button-gradient);
  color: var(--a99-text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--a99-secondary-color);
  color: var(--a99-bg-dark);
  transform: translateY(-3px);
}

.page-fishing-games__btn-lg {
  padding: 18px 40px;
  font-size: 1.2rem;
}

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

.page-fishing-games__cta-buttons--center {
  text-align: center;
}

/* Hero Section Specific */
.page-fishing-games__hero-section {
  padding: 10px 0 80px 0; /* body handles header offset, small top padding here */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-fishing-games__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-fishing-games__hero-description {
  font-size: 1.2rem;
  color: var(--a99-text-secondary);
  margin-bottom: 30px;
}

/* Advantages Section */
.page-fishing-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__advantage-item {
  background-color: var(--a99-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--a99-border-color);
}

.page-fishing-games__advantage-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__advantage-title {
  font-size: 1.5rem;
  color: var(--a99-gold-color);
  margin-bottom: 15px;
}

.page-fishing-games__advantage-description {
  color: var(--a99-text-secondary);
  font-size: 1rem;
}

/* Top Games Section */
.page-fishing-games__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__game-card {
  background-color: var(--a99-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--a99-border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__game-card-title {
  font-size: 1.4rem;
  color: var(--a99-gold-color);
  margin-bottom: 10px;
}

.page-fishing-games__game-card-description {
  color: var(--a99-text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__card-button {
  width: fit-content;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 1rem;
}

/* How To Play Section */
.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__step-item {
  background-color: var(--a99-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid var(--a99-border-color);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__step-icon {
  width: 60px;
  height: 60px;
  background: var(--a99-button-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--a99-text-main);
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-fishing-games__step-title {
  font-size: 1.6rem;
  color: var(--a99-gold-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-description {
  color: var(--a99-text-secondary);
  font-size: 1rem;
}

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

.page-fishing-games__promotion-card {
  background-color: var(--a99-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--a99-border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

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

.page-fishing-games__promotion-description {
  color: var(--a99-text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Security Section */
.page-fishing-games__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__feature-item {
  background-color: var(--a99-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  border: 1px solid var(--a99-border-color);
}

.page-fishing-games__feature-title {
  font-size: 1.5rem;
  color: var(--a99-gold-color);
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  color: var(--a99-text-secondary);
  font-size: 1rem;
}

/* Mobile Section */
.page-fishing-games__mobile-app-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 15px;
  margin: 40px auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Video Section */
.page-fishing-games__video-section {
  padding-top: 10px; /* body handles header offset, small top padding here */
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 1200px;
  width: 100%;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  background-color: #000;
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it respects max-width */
}

/* FAQ Section */
.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
  text-align: left;
}

.page-fishing-games__faq-item {
  background-color: var(--a99-bg-dark);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--a99-border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--a99-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: var(--a99-deep-green);
}

.page-fishing-games__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--a99-secondary-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;
  font-size: 1rem;
  color: var(--a99-text-secondary);
  line-height: 1.8;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 100px 0;
}

.page-fishing-games__cta-final-content {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__top-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__mobile-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 60px 0;
  }

  .page-fishing-games__main-title {
    font-size: 3rem;
  }

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

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

  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__top-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__mobile-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 40px 0;
  }

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

  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }

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

  .page-fishing-games__hero-description {
    font-size: 1rem;
  }

  .page-fishing-games__text-block {
    font-size: 1rem;
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .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;
    margin: 0;
  }

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

  .page-fishing-games__advantage-title,
  .page-fishing-games__game-card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__promotion-title,
  .page-fishing-games__feature-title {
    font-size: 1.3rem;
  }

  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .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__advantages-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__promotions-grid,
  .page-fishing-games__security-features {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-fishing-games__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    height: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
  }
  
  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important; /* Fill parent wrapper */
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

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

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

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

  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__advantages-section,
  .page-fishing-games__top-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__mobile-section,
  .page-fishing-games__video-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 30px 0;
  }
}