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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--p3bet-bg-dark);
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--p3bet-text-main);
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.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,
.page-fishing-games__btn-promo,
.page-fishing-games a[class*="button"],
.page-fishing-games a[class*="btn"] {
  padding: 15px 30px;
  border-radius: 8px;
  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(--p3bet-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

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

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

/* Video Section */
.page-fishing-games__video-section {
  background-color: var(--p3bet-card-bg);
  padding: 60px 20px;
  text-align: center;
}

.page-fishing-games__video-container {
  width: 100%; /* Desktop width: 100% */
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-fishing-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-fishing-games__cta-video {
  margin-top: 30px;
}

/* Common Section Styles */
.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--p3bet-text-main);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-fishing-games__section-description {
  font-size: 1rem;
  color: var(--p3bet-text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--p3bet-deep-green);
}

.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-card {
  background-color: var(--p3bet-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 20px;
  background-color: var(--p3bet-bg-dark);
  text-align: center;
}

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

.page-fishing-games__step-item {
  background-color: var(--p3bet-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-fishing-games__step-title {
  font-size: 1.5rem;
  color: var(--p3bet-green-main);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-fishing-games__step-text {
  font-size: 1rem;
  color: var(--p3bet-text-secondary);
  line-height: 1.6;
}

.page-fishing-games__cta-center {
  margin-top: 50px;
  text-align: center;
}

/* Game Showcase Section */
.page-fishing-games__game-showcase-section {
  padding: 80px 20px;
  background-color: var(--p3bet-deep-green);
  text-align: center;
}

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

.page-fishing-games__game-card {
  background-color: var(--p3bet-card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

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

.page-fishing-games__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-fishing-games__game-title a:hover {
  color: var(--p3bet-green-main);
}

.page-fishing-games__game-description {
  font-size: 0.9rem;
  color: var(--p3bet-text-secondary);
  line-height: 1.5;
  flex-grow: 1;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 20px;
  background-color: var(--p3bet-bg-dark);
  text-align: center;
}

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

.page-fishing-games__promo-card {
  background-color: var(--p3bet-card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-fishing-games__promo-text {
  font-size: 0.9rem;
  color: var(--p3bet-text-secondary);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-fishing-games__btn-promo {
  background: var(--p3bet-button-gradient);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  transition: background 0.3s ease;
}

.page-fishing-games__btn-promo:hover {
  opacity: 0.9;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 20px;
  background-color: var(--p3bet-deep-green);
  text-align: center;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

.page-fishing-games__faq-item summary {
  list-style: none; /* Hide default marker */
}

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

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--p3bet-text-main);
  cursor: pointer;
  background-color: var(--p3bet-card-bg);
  position: relative;
  user-select: none;
}

.page-fishing-games__faq-question:hover {
  background-color: rgba(34, 199, 104, 0.1);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--p3bet-green-main);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--p3bet-text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--p3bet-divider);
}

/* Download CTA Section */
.page-fishing-games__download-cta-section {
  padding: 80px 20px;
  background-color: var(--p3bet-bg-dark);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__hero-section {
    padding: 40px 20px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  }

  .page-fishing-games__video-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__game-showcase-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__download-cta-section {
    padding: 60px 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 30px 15px;
  }
  
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

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

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-promo,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__video-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles header offset, small decorative top padding */
  }

  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-fishing-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

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

  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__game-showcase-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__download-cta-section {
    padding: 40px 15px;
  }

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

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

  .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__cta-buttons,
  .page-fishing-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 150px;
  }

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

  .page-fishing-games__faq-answer {
    font-size: 0.9rem;
    padding: 0 15px 15px;
  }
}