/* style/fishing-games.css */

:root {
  --primary-color: #1A2B3C;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1A2B3C;
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  padding-top: 120px; /* Desktop: Adjust for fixed header */
}

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

/* Section styles */
.page-fishing-games__hero-section,
.page-fishing-games__feature-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__guide-section,
.page-fishing-games__promo-section,
.page-fishing-games__tips-section,
.page-fishing-games__security-section,
.page-fishing-games__call-to-action-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);
}

.page-fishing-games__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: inherit;
}

.page-fishing-games__section-description a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Specific padding-top for hero section */
  padding-bottom: 60px;
}

.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;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-fishing-games__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

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

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

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  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: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Feature Section */
.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-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-dark);
}

.page-fishing-games__feature-item:hover {
  transform: translateY(-5px);
}

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

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

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

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

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

.page-fishing-games__game-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

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

.page-fishing-games__game-description {
  font-size: 16px;
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-fishing-games__play-button {
  display: block;
  width: calc(100% - 30px);
  margin: 0 15px 15px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

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

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

.page-fishing-games__step-text {
  font-size: 16px;
}

.page-fishing-games__step-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-fishing-games__promo-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

.page-fishing-games__promo-text {
  font-size: 16px;
  margin: 0 15px 20px;
  flex-grow: 1;
}

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

.page-fishing-games__tip-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

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

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

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

/* Security Section */
.page-fishing-games__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
}

.page-fishing-games__security-image {
  max-width: 450px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__security-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
  text-align: left;
}

.page-fishing-games__security-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 18px;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.page-fishing-games__security-list li::before {
  content: '✓';
  color: var(--secondary-color);
  font-size: 24px;
  margin-right: 15px;
  font-weight: bold;
}

.page-fishing-games__security-list p {
  margin: 0;
  padding: 0;
  color: inherit;
}

.page-fishing-games__security-list strong {
  color: var(--secondary-color);
}

.page-fishing-games__security-list a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

/* Call to Action Section */
.page-fishing-games__cta-content {
  text-align: center;
}

/* General image responsiveness */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 44px;
  }
  .page-fishing-games__hero-description {
    font-size: 20px;
  }
  .page-fishing-games__section-title {
    font-size: 32px;
  }
  .page-fishing-games__section-description {
    font-size: 16px;
  }
  .page-fishing-games__feature-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title,
  .page-fishing-games__tip-title,
  .page-fishing-games__step-title {
    font-size: 22px;
  }
  .page-fishing-games__feature-text,
  .page-fishing-games__game-description,
  .page-fishing-games__promo-text,
  .page-fishing-games__tip-text,
  .page-fishing-games__step-text {
    font-size: 15px;
  }
  .page-fishing-games__security-list li {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
  }
  .page-fishing-games__hero-section,
  .page-fishing-games__feature-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promo-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__security-section,
  .page-fishing-games__call-to-action-section {
    padding: 60px 0;
  }
  .page-fishing-games__container {
    padding: 0 15px;
  }
  .page-fishing-games__main-title {
    font-size: 36px;
  }
  .page-fishing-games__hero-description {
    font-size: 18px;
  }
  .page-fishing-games__section-title {
    font-size: 28px;
  }
  .page-fishing-games__section-description {
    font-size: 15px;
  }
  
  /* Button responsiveness */
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__cta-button {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }
  .page-fishing-games__play-button {
    width: calc(100% - 30px) !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
  }
}