/* style/fishing-games.css */
:root {
  --primary-color: #1A1A2E;
  --secondary-color: #E94560;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000; /* Body background from shared.css */
  --bg-light: #f8f9fa;
  --border-color: #3a3a5e;
}

.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 consistency */
  padding-top: 120px; /* Desktop: Clear fixed header */
}

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

/* Sections */
.page-fishing-games__hero-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__tips-section,
.page-fishing-games__conclusion-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-fishing-games__feature-section,
.page-fishing-games__guide-section,
.page-fishing-games__app-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 80px 0;
  text-align: center;
}

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

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

/* Titles */
.page-fishing-games__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  line-height: 1.3;
}

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

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

.page-fishing-games__hero-description,
.page-fishing-games__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.8;
}

/* CTA Button */
.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-fishing-games__cta-button:hover {
  background: #d43b52; /* Slightly darker secondary color */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: none;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 15px;
}

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

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

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

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

.page-fishing-games__feature-item {
  background: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-dark);
  border: 1px solid #e0e0e0;
}

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

.page-fishing-games__feature-icon {
  width: 150px; /* Minimum 200px, but for icons, can be smaller if not primary content */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__feature-heading {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__feature-text {
  font-size: 1em;
  line-height: 1.7;
}

/* Advantage List */
.page-fishing-games__advantage-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-fishing-games__advantage-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-fishing-games__advantage-heading {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__advantage-item p {
  font-size: 1em;
  color: var(--text-light);
}

.page-fishing-games__section-image {
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  margin-top: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Step-by-step Guide */
.page-fishing-games__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-fishing-games__step-item {
  background: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-dark);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__step-heading {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-fishing-games__step-item p {
  font-size: 1em;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Tips List */
.page-fishing-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.page-fishing-games__tips-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-fishing-games__tips-heading {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-fishing-games__tips-item p {
  font-size: 1em;
  color: var(--text-light);
}

/* App Section */
.page-fishing-games__app-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

.page-fishing-games__app-text {
  flex: 1;
}

.page-fishing-games__app-image-wrapper {
  flex: 0 0 400px;
  max-width: 400px;
  text-align: center;
}

.page-fishing-games__app-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games__main-title {
    font-size: 3em;
  }
  .page-fishing-games__section-title {
    font-size: 2em;
  }
  .page-fishing-games__hero-description,
  .page-fishing-games__section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 100px !important; /* Mobile: Clear fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-fishing-games__hero-section,
  .page-fishing-games__why-choose-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__conclusion-section,
  .page-fishing-games__feature-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__app-section {
    padding: 60px 0;
  }

  .page-fishing-games__main-title {
    font-size: 2.5em;
  }

  .page-fishing-games__section-title {
    font-size: 1.8em;
  }

  .page-fishing-games__hero-description,
  .page-fishing-games__section-description {
    margin-bottom: 30px;
  }

  .page-fishing-games__cta-button,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px !important;
    font-size: 1.1em !important;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__advantage-list,
  .page-fishing-games__step-by-step,
  .page-fishing-games__tips-list {
    gap: 20px;
  }

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

  .page-fishing-games__feature-heading,
  .page-fishing-games__advantage-heading,
  .page-fishing-games__step-heading,
  .page-fishing-games__tips-heading {
    font-size: 1.3em;
  }

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

  .page-fishing-games__section-image {
    max-width: 95%;
  }

  .page-fishing-games__app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-fishing-games__app-image-wrapper {
    flex: 0 0 auto;
    max-width: 80%;
    margin-top: 30px;
  }

  /* Ensure all images are responsive */
  .page-fishing-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__app-image-wrapper,
  .page-fishing-games__section-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games__hero-image {
    object-fit: contain; /* Ensure image fits within smaller screens */
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 2em;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__cta-button {
    font-size: 1em !important;
    padding: 10px 20px !important;
  }
  .page-fishing-games__feature-heading,
  .page-fishing-games__advantage-heading,
  .page-fishing-games__step-heading,
  .page-fishing-games__tips-heading {
    font-size: 1.2em;
  }
  .page-fishing-games__step-number {
    font-size: 2em;
  }
}