/* style/fishing-games.css */

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

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

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

.page-fishing-games__section-title,
.page-fishing-games__main-title {
  color: var(--page-fishing-games-gold);
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(2em, 4vw, 3em);
  font-weight: bold;
  line-height: 1.2;
}

.page-fishing-games__main-title {
  margin-top: 20px;
}

.page-fishing-games__description,
.page-fishing-games__text-block {
  color: var(--page-fishing-games-text-main);
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  background-color: var(--page-fishing-games-background);
}

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

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

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

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

.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.1em;
  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(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

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

.page-fishing-games__btn-secondary:hover {
  background-color: var(--page-fishing-games-gold);
  color: var(--page-fishing-games-background);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-fishing-games__intro-section,
.page-fishing-games__video-section,
.page-fishing-games__games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__benefits-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final {
  padding: 60px 0;
  background-color: var(--page-fishing-games-background);
}

/* Video Section */
.page-fishing-games__video-section .page-fishing-games__container {
  padding-top: 10px; /* Small top padding as body handles header offset */
}

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

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

.page-fishing-games__video-description {
  text-align: center;
  color: var(--page-fishing-games-text-secondary);
  margin-bottom: 30px;
}

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

.page-fishing-games__card {
  background-color: var(--page-fishing-games-card-bg);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-fishing-games-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--page-fishing-games-text-main);
}

.page-fishing-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-image,
.page-fishing-games__benefit-icon,
.page-fishing-games__promo-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__card-title,
.page-fishing-games__benefit-title,
.page-fishing-games__promo-title {
  color: var(--page-fishing-games-gold);
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__card-text,
.page-fishing-games__benefit-text,
.page-fishing-games__promo-text {
  color: var(--page-fishing-games-text-secondary);
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How to Play Section */
.page-fishing-games__how-to-play-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-fishing-games__steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-fishing-games__step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-fishing-games__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--page-fishing-games-button-gradient);
  color: var(--page-fishing-games-text-main);
  font-weight: bold;
  font-size: 1.2em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
  color: var(--page-fishing-games-gold);
  font-size: 1.2em;
  margin-top: 5px;
  margin-bottom: 5px;
}

.page-fishing-games__step-text {
  color: var(--page-fishing-games-text-secondary);
  font-size: 0.9em;
  margin-top: 0;
  flex-grow: 1;
}

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

.page-fishing-games__how-to-play-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: block;
}

/* Benefits Section */
.page-fishing-games__benefit-icon {
  max-height: 150px;
  width: auto;
  border-radius: 0;
}

/* Promotions Section */
.page-fishing-games__view-all-promos {
  margin-top: 50px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-fishing-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: var(--page-fishing-games-text-main);
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary:hover {
  background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__faq-item[open] summary {
  background-color: var(--page-fishing-games-deep-green);
  color: var(--page-fishing-games-gold);
}

.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(--page-fishing-games-gold);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
  color: var(--page-fishing-games-gold);
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px 20px;
  color: var(--page-fishing-games-text-secondary);
  font-size: 0.95em;
  line-height: 1.5;
}

.page-fishing-games__faq-answer p {
  margin: 0;
  text-align: left;
  color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__faq-answer a:hover {
  color: var(--page-fishing-games-glow);
}

/* Final CTA Section */
.page-fishing-games__cta-final {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__hero-content {
    padding: 0 15px;
  }

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

  .page-fishing-games__how-to-play-content {
    flex-direction: column;
  }

  .page-fishing-games__how-to-play-image-wrapper {
    order: -1; /* Image appears above steps on mobile */
    margin-bottom: 30px;
  }

  .page-fishing-games__steps {
    align-items: center;
  }

  .page-fishing-games__step-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .page-fishing-games__step-number {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section,
  .page-fishing-games__intro-section,
  .page-fishing-games__video-section,
  .page-fishing-games__games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__benefits-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final {
    padding: 40px 0 !important;
  }

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

  .page-fishing-games__section-title,
  .page-fishing-games__main-title {
    font-size: clamp(1.5em, 6vw, 2em) !important;
    margin-bottom: 20px !important;
  }

  .page-fishing-games__description,
  .page-fishing-games__text-block {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    margin-top: 30px !important;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Images and Video responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-fishing-games__video-section {
    padding-top: 10px !important;
  }

  .page-fishing-games__game-cards,
  .page-fishing-games__benefits-grid,
  .page-fishing-games__promotions-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

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

  .page-fishing-games__card-image,
  .page-fishing-games__benefit-icon,
  .page-fishing-games__promo-image {
    max-height: none !important;
  }

  .page-fishing-games__how-to-play-content {
    gap: 20px;
  }

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

  .page-fishing-games__faq-toggle {
    font-size: 1.2em !important;
  }

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

  /* Ensure all content containers have proper mobile padding */
  .page-fishing-games__intro-section .page-fishing-games__container,
  .page-fishing-games__video-section .page-fishing-games__container,
  .page-fishing-games__games-section .page-fishing-games__container,
  .page-fishing-games__how-to-play-section .page-fishing-games__container,
  .page-fishing-games__benefits-section .page-fishing-games__container,
  .page-fishing-games__promotions-section .page-fishing-games__container,
  .page-fishing-games__faq-section .page-fishing-games__container,
  .page-fishing-games__cta-final .page-fishing-games__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__step-title {
    font-size: 1.1em;
  }
  .page-fishing-games__step-text {
    font-size: 0.85em;
  }
}