/* style/fishing-games.css */
:root {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-light: #f9f9f9;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
  --border-color-dark-mode: rgba(255, 255, 255, 0.2);
}

.page-fishing-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--bg-dark); /* Inherited from shared.css body */
  padding-top: 100px; /* Adjust for fixed header on desktop */
}

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

.page-fishing-games__hero-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: var(--text-light);
  border-radius: 0 0 15px 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Adjust for fixed header on desktop for the first section */
}

.page-fishing-games__hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  animation: rotateGradient 20s linear infinite;
  pointer-events: none;
}

@keyframes rotateGradient {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

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

.page-fishing-games__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-fishing-games__text-link {
  color: var(--secondary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
  color: #ffda6a;
}

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

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

.page-fishing-games__cta-button:hover {
  background: #e6b000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary {
  background: none;
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.page-fishing-games__cta-button--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
  color: var(--secondary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__introduction-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-final-section {
  padding: 80px 0;
}

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

.page-fishing-games__content-block {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.page-fishing-games__content-block p {
  font-size: 1.1em;
  max-width: 900px;
  text-align: justify;
}

.page-fishing-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

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

.page-fishing-games__features-section .page-fishing-games__section-title {
  color: var(--primary-color);
  text-shadow: none;
}

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

.page-fishing-games__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-fishing-games__card {
  background: var(--card-bg-dark-mode);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color-dark-mode);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

.page-fishing-games__features-section .page-fishing-games__card {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid #e0e0e0;
}

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

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

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

.page-fishing-games__features-section .page-fishing-games__card-title {
  color: var(--primary-color);
}

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

.page-fishing-games__features-section .page-fishing-games__card p {
  color: var(--text-dark);
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 60px;
}

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

.page-fishing-games__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-fishing-games__game-card {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: var(--text-light);
}

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

.page-fishing-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__game-title {
  font-size: 1.8em;
  margin: 15px 15px 10px 15px;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-fishing-games__game-description {
  font-size: 1em;
  padding: 0 15px 20px 15px;
  color: var(--text-light);
}

.page-fishing-games__game-card .page-fishing-games__button {
  display: block;
  width: calc(100% - 30px);
  margin: 0 15px 20px 15px;
  padding: 12px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__game-card .page-fishing-games__button:hover {
  background: #0056b3;
}

.page-fishing-games__how-to-play-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

.page-fishing-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-fishing-games__step-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-fishing-games__step-item p {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-fishing-games__step-item .page-fishing-games__button {
  background: var(--secondary-color);
  color: var(--text-dark);
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__step-item .page-fishing-games__button:hover {
  background: #e6b000;
}

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

.page-fishing-games__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-fishing-games__list-item {
  background: var(--card-bg-dark-mode);
  border: 1px solid var(--border-color-dark-mode);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__list-item:last-child {
  margin-bottom: 0;
}

.page-fishing-games__list-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  padding: 10px;
}

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

.page-fishing-games__promotions-section .page-fishing-games__section-title {
  color: var(--primary-color);
  text-shadow: none;
}

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

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

.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-fishing-games__promo-card p {
  font-size: 1em;
  padding: 0 15px 20px 15px;
  color: var(--text-dark);
}

.page-fishing-games__promo-card .page-fishing-games__button {
  display: block;
  width: calc(100% - 30px);
  margin: 0 15px 20px 15px;
  padding: 12px 20px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__promo-card .page-fishing-games__button:hover {
  background: #e6b000;
}

.page-fishing-games__cta-final-section {
  background: linear-gradient(45deg, #0056b3 0%, var(--primary-color) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 100px 20px;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
  color: var(--text-light);
  font-size: 1.2em;
  margin-bottom: 50px;
}

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

  .page-fishing-games__hero-description {
    font-size: 1.2em;
  }

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

  .page-fishing-games__grid--2-cols {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games {
    padding-top: 80px !important; /* Mobile: Adjust for fixed header */
    font-size: 15px;
  }

  .page-fishing-games__hero-section {
    padding: 60px 15px;
    padding-top: 10px !important; /* Mobile: Adjust for fixed header */
  }

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

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

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

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

  .page-fishing-games__introduction-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__tips-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__cta-final-section {
    padding: 50px 0;
  }

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

  .page-fishing-games__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card {
    padding: 20px;
  }

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

  .page-fishing-games__card-title,
  .page-fishing-games__game-title,
  .page-fishing-games__promo-title {
    font-size: 1.3em;
  }

  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 180px;
  }

  .page-fishing-games__steps-list {
    grid-template-columns: 1fr;
  }

  .page-fishing-games__list-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .page-fishing-games__list-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .page-fishing-games__cta-final-section {
    padding: 60px 15px;
  }

  .page-fishing-games__cta-final-section .page-fishing-games__text-block {
    font-size: 1em;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }

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

  .page-fishing-games__cta-button {
    padding: 10px 20px;
    font-size: 0.95em;
  }

  .page-fishing-games__game-card .page-fishing-games__button,
  .page-fishing-games__promo-card .page-fishing-games__button {
    font-size: 0.95em;
    padding: 10px 15px;
  }
}

/* Ensure all image containers are responsive */
.page-fishing-games__content-block img,
.page-fishing-games__card img,
.page-fishing-games__game-card img,
.page-fishing-games__promo-card img,
.page-fishing-games__list-item img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-fishing-games__content-block,
  .page-fishing-games__grid,
  .page-fishing-games__steps-list,
  .page-fishing-games__list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-fishing-games__content-block > p,
  .page-fishing-games__text-block,
  .page-fishing-games__list-item {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .page-fishing-games__image,
  .page-fishing-games__card-icon,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image,
  .page-fishing-games__list-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important; /* Ensure height scales proportionally */
    object-fit: contain !important; /* Adjust if images are getting cut off */
  }

  .page-fishing-games__card-icon, .page-fishing-games__list-icon {
    width: 60px !important;
    height: 60px !important;
  }

  .page-fishing-games__game-card .page-fishing-games__button,
  .page-fishing-games__promo-card .page-fishing-games__button,
  .page-fishing-games__step-item .page-fishing-games__button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
  }
}