/* style/fishing-games.css */

/* Base styles for the page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main color for dark body background */
  background-color: #B71C1C; /* Body background color */
}

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

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

.page-fishing-games__dark-bg {
  background-color: #B71C1C;
  color: #FFF5E1;
}

.page-fishing-games__dark-section {
  background-color: #D32F2F; /* Card BG color for a darker section */
  color: #FFF5E1;
}

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 4vw, 3rem); /* Using clamp for h1 */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-fishing-games__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1;
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding */
  background-color: #B71C1C;
}

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

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

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

/* Buttons */
.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast on gold button */
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
  background-color: #7A0E0E; /* Deep Red for secondary button */
  color: #FFF5E1;
  border-color: #F2B544; /* Border Gold */
}

.page-fishing-games__btn-secondary:hover {
  background-color: #5a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

/* Intro Section */
.page-fishing-games__intro-section {
  background-color: #B71C1C;
}

/* Features Section */
.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: #D32F2F; /* Card BG color */
  color: #FFF5E1;
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border Gold */
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  color: #F4D34D; /* Gold color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games__feature-card p {
  font-size: 1rem;
  color: #FFF5E1;
}

/* Games List Section */
.page-fishing-games__games-list-section {
  background-color: #B71C1C;
}

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

.page-fishing-games__game-card {
  background-color: #D32F2F; /* Card BG color */
  color: #FFF5E1;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border Gold */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__game-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 2px solid #F2B544;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
  background-color: #7A0E0E; /* Deep Red */
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFF5E1;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid rgba(242, 181, 68, 0.5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #F4D34D; /* Gold */
  color: #7A0E0E; /* Deep Red */
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.page-fishing-games__step-title {
  font-size: 1.2rem;
  color: #F4D34D; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games__how-to-play-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  display: block;
  border-radius: 15px;
  border: 3px solid #F2B544;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  background-color: #B71C1C;
}

.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 30px auto;
  max-width: 700px;
  text-align: left;
}

.page-fishing-games__promo-list li {
  background-color: #D32F2F; /* Card BG color */
  margin-bottom: 15px;
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 1.1rem;
  color: #FFF5E1;
  border-left: 5px solid #F4D34D; /* Gold accent */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.page-fishing-games__cta-section {
  background-color: #7A0E0E; /* Deep Red */
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  }
}

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

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

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

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

  .page-fishing-games__hero-content {
    padding: 0 15px;
  }

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

  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__feature-card,
  .page-fishing-games__step-item,
  .page-fishing-games__how-to-play-image,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-fishing-games__promo-list {
    padding: 0 15px;
  }

  .page-fishing-games__promo-list li {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 2rem;
  }
  .page-fishing-games__section-title {
    font-size: 1.5rem;
  }
  .page-fishing-games__description {
    font-size: 1rem;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .page-fishing-games__hero-section {
    padding-bottom: 30px;
  }
  .page-fishing-games__section {
    padding: 30px 0;
  }
}

/* Ensure content images are not smaller than 200px */
.page-fishing-games__game-image,
.page-fishing-games__how-to-play-image {
  min-width: 200px;
  min-height: 200px;
}

.page-fishing-games__feature-card img { /* If any feature cards have images, ensure they are large */
  min-width: 200px;
  min-height: 200px;
}