/* style/fishing-games.css */

:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #1a1a1a; /* Assuming shared.css has a dark background for body */
  --border-color: #e0e0e0;
}

.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure page content background matches body's dark background */
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

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

/* Sections */
.page-fishing-games__hero-section,
.page-fishing-games__features-section,
.page-fishing-games__games-showcase,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__tips-section,
.page-fishing-games__security-section,
.page-fishing-games__support-section,
.page-fishing-games__conclusion-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

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

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

/* Titles and Descriptions */
.page-fishing-games__main-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__description {
  font-size: 20px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-fishing-games__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
  color: var(--primary-color);
}

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

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__dark-bg .page-fishing-games__section-description {
  color: rgba(255, 255, 255, 0.8);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  cursor: pointer;
}

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

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

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

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

.page-fishing-games__btn-tertiary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 25px;
  font-size: 16px;
  box-shadow: none;
}

.page-fishing-games__btn-tertiary:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-primary--large,
.page-fishing-games__btn-secondary--large {
  padding: 18px 45px;
  font-size: 20px;
}

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-fishing-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

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

.page-fishing-games__feature-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

/* 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 {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-fishing-games__game-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

/* Guide Steps */
.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games__step-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-fishing-games__step-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-item p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-fishing-games__promo-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__promo-item img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-fishing-games__promo-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-fishing-games__promo-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* Tips List */
.page-fishing-games__tip-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__tip-item {
  background: #ffffff;
  border-left: 5px solid var(--primary-color);
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  color: var(--text-dark);
  font-size: 17px;
}

.page-fishing-games__tip-item strong {
  color: var(--secondary-color);
}

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

.page-fishing-games__security-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__security-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__security-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__security-item p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

/* Support Methods */
.page-fishing-games__support-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__support-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

.page-fishing-games__support-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 42px;
  }

  .page-fishing-games__section-title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-fishing-games__hero-section,
  .page-fishing-games__features-section,
  .page-fishing-games__games-showcase,
  .page-fishing-games__guide-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__security-section,
  .page-fishing-games__support-section,
  .page-fishing-games__conclusion-section {
    padding: 60px 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

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

  .page-fishing-games__description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__section-description {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary,
  .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: 12px 25px;
    font-size: 16px;
  }

  .page-fishing-games__btn-primary--large,
  .page-fishing-games__btn-secondary--large {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-fishing-games__feature-item,
  .page-fishing-games__game-card,
  .page-fishing-games__step-item,
  .page-fishing-games__promo-item,
  .page-fishing-games__security-item,
  .page-fishing-games__support-item {
    padding: 25px;
    border-radius: 8px;
  }

  .page-fishing-games__feature-item img,
  .page-fishing-games__game-card img,
  .page-fishing-games__promo-item img,
  .page-fishing-games__security-item img,
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  .page-fishing-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important; /* Keep height 100% for hero background */
    object-fit: cover !important;
  }

  .page-fishing-games__tip-item {
    padding: 18px 20px;
    font-size: 15px;
  }
}