/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-fishing-games__section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  color: #26A9E0;
}

.page-fishing-games__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-fishing-games__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

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

/* Background color specific styles for sections */
.page-fishing-games__dark-bg {
  background-color: rgba(38, 169, 224, 0.1);
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary,
.page-fishing-games__btn-inline {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  margin: 10px;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background-color: #1a7aab;
  border-color: #1a7aab;
}

.page-fishing-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__btn-tertiary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  padding: 10px 20px;
}

.page-fishing-games__btn-tertiary:hover {
  background-color: #26A9E0;
  border-color: #26A9E0;
}

.page-fishing-games__btn-inline {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
  font-size: 1rem;
  padding: 8px 15px;
  margin: 0 5px 0 0;
}

.page-fishing-games__btn-inline:hover {
  background-color: #c96a06;
  border-color: #c96a06;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
  position: relative;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-fishing-games__hero-content {
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-fishing-games__tagline {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
  padding: 60px 0;
}

.page-fishing-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Why Play Section */
.page-fishing-games__why-play-section {
  padding: 60px 0;
}

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

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

.page-fishing-games__feature-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__feature-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #cccccc;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
  padding: 60px 0;
}

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

.page-fishing-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-fishing-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.4rem;
  color: #26A9E0;
  padding: 15px 20px 10px;
}

.page-fishing-games__card-description {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 20px 15px;
  flex-grow: 1;
  color: #cccccc;
}

.page-fishing-games__game-card .page-fishing-games__btn-tertiary {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
  padding: 60px 0;
}

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

.page-fishing-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__step-title {
  font-size: 1.6rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__step-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cccccc;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 60px 0;
}

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

.page-fishing-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__strategy-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-fishing-games__strategy-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #cccccc;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 60px 0;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 60px 0;
}

.page-fishing-games__faq-list {
  margin-top: 40px;
}

.page-fishing-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle::before {
  content: '−';
}

.page-fishing-games__faq-item:not([open]) .page-fishing-games__faq-toggle::before {
  content: '+';
}

.page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cccccc;
}

.page-fishing-games__faq-answer p {
  margin-top: 0;
  margin-bottom: 10px;
}

/* Cta Bottom Section */
.page-fishing-games__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-fishing-games__container {
    padding: 0 15px !important;
  }

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

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

  .page-fishing-games__tagline {
    font-size: 1.1rem;
  }

  .page-fishing-games__text-block,
  .page-fishing-games__feature-description,
  .page-fishing-games__card-description,
  .page-fishing-games__step-description,
  .page-fishing-games__strategy-description,
  .page-fishing-games__faq-answer {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games__hero-section,
  .page-fishing-games__introduction-section,
  .page-fishing-games__why-play-section,
  .page-fishing-games__popular-games-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-bottom-section {
    padding: 40px 0;
  }

  /* Images responsiveness */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__game-card,
  .page-fishing-games__feature-item,
  .page-fishing-games__step-item,
  .page-fishing-games__strategy-item,
  .page-fishing-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow for containers */
  }

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games__btn-tertiary,
  .page-fishing-games__btn-inline,
  .page-fishing-games a[class*="button"],
  .page-fishing-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important; /* Remove horizontal margin for full width */
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__game-card .page-fishing-games__btn-tertiary {
    width: calc(100% - 40px) !important;
    margin: 0 20px 20px !important;
  }

  .page-fishing-games__hero-content .page-fishing-games__cta-buttons {
    gap: 10px;
  }

  .page-fishing-games__how-to-play-section .page-fishing-games__btn-inline {
    width: auto !important;
    padding: 10px 15px !important;
    margin-top: 10px !important;
  }

  .page-fishing-games__faq-question {
    font-size: 1.1rem;
  }
}

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

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

  .page-fishing-games__feature-title,
  .page-fishing-games__card-title,
  .page-fishing-games__step-title,
  .page-fishing-games__strategy-title {
    font-size: 1.3rem;
  }
}