/* style/fishing-games.css */
/* Body background is #FFFFFF (light), so text should be dark (#333333) by default. */

:root {
  --page-fishing-games-primary-color: #017439;
  --page-fishing-games-secondary-color: #FFFFFF;
  --page-fishing-games-text-color-dark: #333333;
  --page-fishing-games-text-color-light: #ffffff;
  --page-fishing-games-button-register: #C30808;
  --page-fishing-games-button-login: #C30808;
  --page-fishing-games-button-text-yellow: #FFFF00;
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  color: var(--page-fishing-games-text-color-dark); /* Default text color for light background body */
  line-height: 1.6;
}

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

.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
  color: var(--page-fishing-games-text-color-light);
  background: var(--page-fishing-games-primary-color); /* Dark background for hero */
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height of the image wrapper */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
  display: block;
  max-width: 1200px; /* Ensuring image doesn't stretch too wide */
  margin: 0 auto;
}

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

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-fishing-games-text-color-light);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-button-register); /* Custom color for register/play now */
  color: var(--page-fishing-games-button-text-yellow); /* Custom text color */
  border: 2px solid var(--page-fishing-games-button-register);
}

.page-fishing-games__btn-primary:hover {
  background: #a80707;
  border-color: #a80707;
}

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

.page-fishing-games__btn-secondary:hover {
  background: #e0e0e0;
}

.page-fishing-games__btn-large {
  min-width: 200px;
  padding: 18px 35px;
  font-size: 1.2rem;
}

.page-fishing-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__introduction-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  background: var(--page-fishing-games-secondary-color); /* Light background */
  color: var(--page-fishing-games-text-color-dark);
}

.page-fishing-games__dark-bg {
  background: var(--page-fishing-games-primary-color);
  color: var(--page-fishing-games-text-color-light);
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__card-title {
  color: var(--page-fishing-games-text-color-light);
}

.page-fishing-games__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  filter: none; /* Ensure no CSS filter */
}

.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: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-fishing-games-text-color-light);
}

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
}

.page-fishing-games__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__dark-bg .page-fishing-games__feature-card .page-fishing-games__card-title {
  color: var(--page-fishing-games-text-color-light);
}

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__steps-list li {
  background: var(--page-fishing-games-secondary-color);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__list-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__game-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--page-fishing-games-text-color-light);
}

.page-fishing-games__game-trial-frame {
  border: none;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  height: 300px; /* Fixed height for game trials */
  background-color: #000;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
  color: var(--page-fishing-games-text-color-light);
}

.page-fishing-games__btn-full-width {
  width: 100%;
  margin-top: 40px;
}

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

.page-fishing-games__promo-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
}

.page-fishing-games__responsible-gaming-section {
  padding: 60px 0;
  text-align: center;
}

.page-fishing-games__responsible-gaming-section p a {
  color: var(--page-fishing-games-button-text-yellow);
  text-decoration: underline;
}

.page-fishing-games__cta-final-section {
  padding: 80px 0;
  text-align: center;
}

.page-fishing-games__cta-final-section .page-fishing-games__cta-buttons {
  margin-top: 40px;
}

/* Link styling */
.page-fishing-games a {
  color: var(--page-fishing-games-primary-color);
  text-decoration: none;
}

.page-fishing-games a:hover {
  text-decoration: underline;
}

.page-fishing-games__dark-bg a {
  color: var(--page-fishing-games-button-text-yellow);
}

.page-fishing-games__dark-bg a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  
  .page-fishing-games__main-title {
    font-size: 2.2rem;
  }

  .page-fishing-games__hero-description {
    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;
    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__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__cta-final-section {
    padding: 60px 0;
  }

  .page-fishing-games__features-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__promo-cards {
    grid-template-columns: 1fr;
  }

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

  /* Mobile image and video responsive adaptation */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__content-image,
  .page-fishing-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-fishing-games__hero-image-wrapper {
    max-height: none;
  }

  .page-fishing-games iframe {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Adjust height for smaller screens if needed, or keep fixed */
    display: block !important;
  }

  .page-fishing-games__game-trial-frame {
    height: 250px; /* Adjust trial frame height for mobile */
  }
  
  .page-fishing-games__container {
    padding: 0 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__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-fishing-games__list-title {
    font-size: 1.4rem;
  }
}