/* style/fishing-games.css */

/* General styles for the page */
.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
  padding-bottom: 40px;
}

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Clamp for H2 */
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
  line-height: 1.2;
}

.page-fishing-games__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  color: #FFF5E1; /* Text Main */
}

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px; /* Small top padding, not var(--header-offset) */
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 40px; /* Space between image and content */
}

.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: 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull content up slightly over the image if needed, but not overlaying text */
}

.page-fishing-games__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Clamp for H1 in hero */
  font-weight: 900;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
  font-size: 20px;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button gradient */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary {
  background: #C91F17; /* Primary color */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary:hover {
  background: #E53935; /* Auxiliary color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

/* Section specific styles */
.page-fishing-games__intro-section,
.page-fishing-games__features-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-us-section,
.page-fishing-games__final-cta-section {
  padding: 60px 0;
}

.page-fishing-games__dark-section {
  background-color: #7A0E0E; /* Deep Red for dark sections */
  color: #FFF5E1; /* Text Main */
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Min size for content images */
  min-height: 200px; /* Min size for content images */
}

/* Cards */
.page-fishing-games__card {
  background-color: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #F2B544; /* Border */
}

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

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

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

.page-fishing-games__game-card {
  overflow: hidden;
}

.page-fishing-games__game-trial-frame {
  border: none;
  width: 100%;
  height: 300px;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-fishing-games__step-card {
  background-color: #C91F17; /* Primary color */
  padding-top: 40px;
}

.page-fishing-games__step-number {
  background-color: #F4D34D; /* Gold */
  color: #7A0E0E; /* Deep Red */
  font-size: 32px;
  font-weight: bold;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -60px auto 20px; /* Position number outside card top */
  border: 3px solid #F2B544; /* Border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__promo-item {
  background-color: #C91F17; /* Primary color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
}

.page-fishing-games__promo-item .page-fishing-games__card-title {
  color: #F4D34D; /* Gold */
}

/* Links within text blocks */
.page-fishing-games__text-block a,
.page-fishing-games p a,
.page-fishing-games li a {
  color: #F4D34D; /* Gold */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-fishing-games__text-block a:hover,
.page-fishing-games p a:hover,
.page-fishing-games li a:hover {
  color: #FFCC66; /* Glow */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 0 40px;
  }

  .page-fishing-games__hero-content {
    margin-top: -40px;
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .page-fishing-games__hero-description {
    font-size: 16px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 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__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 20px;
  }

  .page-fishing-games__text-block {
    font-size: 16px;
  }

  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-us-section,
  .page-fishing-games__final-cta-section {
    padding: 40px 0;
  }

  /* Mobile image/video/container rules */
  .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__section,
  .page-fishing-games__card,
  .page-fishing-games__container,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

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

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

  .page-fishing-games__step-number {
    margin: -40px auto 15px;
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
}