/* style/fishing-games.css */

:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f8f9fa;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

/* Base styles for the page content, ensuring contrast with body background */
.page-fishing-games {
  color: var(--text-light); /* Body background is dark, so text should be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

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

.page-fishing-games__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-fishing-games__description {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 30px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--secondary-color);
  padding-top: 10px; /* Specific padding for hero/video section */
}

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

.page-fishing-games__light-bg {
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-fishing-games__hero-section .page-fishing-games__container {
  z-index: 1;
  position: relative;
}

.page-fishing-games__main-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-section .page-fishing-games__description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  color: var(--text-light);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

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

.page-fishing-games__btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-fishing-games__btn-secondary:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 80px 0;
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-fishing-games__introduction-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__introduction-section p {
  text-align: justify;
  margin-bottom: 20px;
  font-size: 17px;
}

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

.page-fishing-games__feature-item {
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-fishing-games__feature-item h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
  font-size: 16px;
  color: var(--text-dark);
}

/* Game Types Section */
.page-fishing-games__game-types-section {
  padding: 80px 0;
  background: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games__game-types-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.page-fishing-games__game-types-section p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 17px;
}

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

.page-fishing-games__game-card {
  background: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-fishing-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__game-card-title {
  font-size: 24px;
  font-weight: bold;
  margin: 20px 20px 10px;
  color: var(--secondary-color);
}

.page-fishing-games__game-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-card-title a:hover {
  color: var(--primary-color);
}

.page-fishing-games__game-card-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-fishing-games__btn-small {
  display: inline-block;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  margin: 0 20px 20px;
}

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

.page-fishing-games__guide-section .page-fishing-games__section-title {
  color: var(--primary-color);
}

.page-fishing-games__guide-section p {
  text-align: justify;
  margin-bottom: 20px;
  font-size: 17px;
}

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

.page-fishing-games__guide-list li {
  background: var(--card-bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  position: relative;
  padding-left: 80px;
}

.page-fishing-games__guide-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 25px;
  top: 25px;
  background: var(--primary-color);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
}

.page-fishing-games__guide-list h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__guide-list p {
  font-size: 16px;
  color: var(--text-dark);
  text-align: justify;
  margin-bottom: 0;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 80px 0;
  background: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games__strategy-section .page-fishing-games__section-title {
  color: var(--secondary-color);
}

.page-fishing-games__strategy-section p {
  text-align: justify;
  margin-bottom: 20px;
  font-size: 17px;
}

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

.page-fishing-games__strategy-list li {
  background: var(--card-bg-dark);
  padding: 30px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__strategy-list h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__strategy-list p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  text-align: justify;
  margin-bottom: 0;
}

/* CTA Banner Section */
.page-fishing-games__cta-banner {
  padding: 60px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}

.page-fishing-games__cta-banner.page-fishing-games__light-bg {
  background: linear-gradient(135deg, var(--bg-light) 0%, #e0e0e0 100%);
  color: var(--text-dark);
}

.page-fishing-games__cta-content {
  z-index: 1;
  max-width: 700px;
}

.page-fishing-games__cta-title {
  font-size: 40px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-fishing-games__cta-text {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-fishing-games__cta-image {
  width: 350px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 44px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__cta-title {
    font-size: 36px;
  }
  .page-fishing-games__hero-section {
    padding: 60px 20px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-fishing-games__container {
    padding: 0 15px;
  }

  .page-fishing-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Specific padding for hero/video section */
  }

  .page-fishing-games__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

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

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

  .page-fishing-games__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-fishing-games__introduction-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__cta-banner {
    padding: 40px 0;
  }

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

  .page-fishing-games__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-fishing-games__feature-item h3,
  .page-fishing-games__game-card-title {
    font-size: 20px;
  }
  
  .page-fishing-games__game-card-image {
    height: 180px;
  }

  .page-fishing-games__btn-small {
    width: calc(100% - 40px);
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    padding: 10px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__guide-list li {
    padding: 20px;
    padding-left: 65px;
    margin-bottom: 15px;
  }

  .page-fishing-games__guide-list li::before {
    width: 35px;
    height: 35px;
    font-size: 18px;
    left: 15px;
    top: 18px;
  }

  .page-fishing-games__guide-list h3,
  .page-fishing-games__strategy-list h3 {
    font-size: 18px;
  }

  .page-fishing-games__guide-list p,
  .page-fishing-games__strategy-list p {
    font-size: 15px;
  }

  .page-fishing-games__cta-banner {
    flex-direction: column-reverse;
    gap: 30px;
    padding: 40px 15px;
  }

  .page-fishing-games__cta-title {
    font-size: 30px;
  }

  .page-fishing-games__cta-image {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
  
  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__introduction-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__cta-banner,
  .page-fishing-games__container,
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__guide-list li,
  .page-fishing-games__strategy-list li,
  .page-fishing-games__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  
  .page-fishing-games__cta-content {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 30px;
  }
  .page-fishing-games__section-title {
    font-size: 24px;
  }
  .page-fishing-games__cta-title {
    font-size: 28px;
  }
  .page-fishing-games__feature-item h3,
  .page-fishing-games__game-card-title {
    font-size: 18px;
  }
  .page-fishing-games__guide-list h3,
  .page-fishing-games__strategy-list h3 {
    font-size: 17px;
  }
}