/* style/fishing-games.css */

:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --page-bg: #F4F7FB;
  --text-main: #1F2D3D;
  --text-dark: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--page-bg);
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, main offset from body */
  background-color: var(--primary-color);
}

.page-fishing-games__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-fishing-games__hero-video-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-fishing-games__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken video for text readability */
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.page-fishing-games__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  /* clamp for responsive font size */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-fishing-games__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

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

.page-fishing-games__btn-primary {
  background: var(--button-gradient);
  color: #FFFFFF;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: var(--primary-color);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* General Section Styles */
.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Intro Section */
.page-fishing-games__intro-section {
  padding: 80px 0;
  background-color: var(--page-bg);
}

/* Features Section */
.page-fishing-games__dark-bg {
  background-color: var(--primary-color);
  color: #FFFFFF;
  padding: 80px 0;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: #FFFFFF;
}

.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.15);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  color: #FFFFFF;
}

.page-fishing-games__feature-card:hover {
  transform: translateY(-10px);
}

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

.page-fishing-games__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-fishing-games__feature-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* Guide Section */
.page-fishing-games__guide-section {
  padding: 80px 0;
  background-color: var(--card-bg);
}

.page-fishing-games__guide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__guide-steps {
  flex: 1;
  min-width: 300px;
}

.page-fishing-games__guide-steps ol {
  list-style: none;
  counter-reset: guide-step;
  padding-left: 0;
}

.page-fishing-games__guide-steps li {
  counter-increment: guide-step;
  margin-bottom: 20px;
  position: relative;
  padding-left: 40px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-fishing-games__guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.page-fishing-games__guide-image-wrapper {
  flex: 1;
  min-width: 400px;
}

.page-fishing-games__btn-guide {
  margin-top: 30px;
}

/* Game Showcase */
.page-fishing-games__bg-pattern {
  background-color: var(--page-bg);
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23e0e7f7" fill-opacity="0.4"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zm0 30V0h-2v4h-4v2h4v4h2V6h4V4h-4zm0 30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2V6h4V4H6zm0 30v-4H4v4H0v2h4v4h2v-4h4v-2H6zm0 30v-4H4v4H0v2h4v4h2v-4h4v-2H6zM30 4v-4h-2v4h-4v2h4v4h2V6h4V4h-4zm0 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM24 0v4h-4v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM24 30v4h-4v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM24 60v-4h-4v4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM0 0v4h-4v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM0 30v4h-4v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM0 60v-4h-4v4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM30 0v4h-4v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM30 30v4h-4v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM30 60v-4h-4v4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM54 0v4h-4v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM54 30v4h-4v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM54 60v-4h-4v4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM48 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM48 4v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM48 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM48 60v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM54 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM54 4v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM54 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM54 60v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  padding: 80px 0;
}

.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-color: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-main);
}

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

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

.page-fishing-games__game-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games__game-trial-frame {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  height: 300px; /* Fixed height for trial frames */
}

.page-fishing-games__btn-play {
  width: fit-content;
}

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

.page-fishing-games__promo-cta {
  margin-top: 40px;
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.page-fishing-games__why-choose-us .page-fishing-games__section-title {
  color: #FFFFFF;
}

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

.page-fishing-games__why-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.6;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-fishing-games__why-list li strong {
  color: var(--glow-color);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__hero-content {
    padding: 30px 15px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  }
  .page-fishing-games__guide-content {
    flex-direction: column;
  }
  .page-fishing-games__guide-steps, .page-fishing-games__guide-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games__container {
    padding: 0 15px !important;
  }
  .page-fishing-games__hero-section {
    min-height: 450px;
    padding-top: 10px !important;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-fishing-games__hero-description {
    font-size: 1rem;
  }
  .page-fishing-games__hero-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__hero-cta-buttons,
  .page-fishing-games__promo-cta,
  .page-fishing-games__final-cta {
    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(1.4rem, 5vw, 2rem);
  }
  .page-fishing-games__image,
  .page-fishing-games video,
  .page-fishing-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__intro-section,
  .page-fishing-games__features-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__game-showcase,
  .page-fishing-games__promotions-section,
  .page-fishing-games__why-choose-us {
    padding: 40px 0;
  }
  .page-fishing-games__game-trial-frame {
    height: 250px;
  }
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__why-list li {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-section {
    min-height: 350px;
  }
  .page-fishing-games__hero-content {
    padding: 20px 10px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .page-fishing-games__hero-description {
    font-size: 0.9rem;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }
  .page-fishing-games__text-block,
  .page-fishing-games__feature-description,
  .page-fishing-games__guide-steps li,
  .page-fishing-games__game-description,
  .page-fishing-games__why-list li {
    font-size: 0.9rem;
  }
}