/* style/fishing-games.css */

:root {
  --page-fishing-games-bg: #08160F;
  --page-fishing-games-card-bg: #11271B;
  --page-fishing-games-text-main: #F2FFF6;
  --page-fishing-games-text-secondary: #A7D9B8;
  --page-fishing-games-border: #2E7A4E;
  --page-fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-fishing-games-glow: #57E38D;
}

.page-fishing-games {
  background-color: var(--page-fishing-games-bg);
  color: var(--page-fishing-games-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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(28px, 4vw, 42px);
  color: var(--page-fishing-games-text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-fishing-games__section-description {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--page-fishing-games-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-fishing-games__card-title {
  font-size: clamp(20px, 2.5vw, 24px);
  color: var(--page-fishing-games-text-main);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-fishing-games a {
  color: var(--page-fishing-games-glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games a:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-fishing-games__btn-primary {
  background: var(--page-fishing-games-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 15px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

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

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

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

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

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

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-fishing-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-fishing-games__hero-title {
  font-size: clamp(36px, 6vw, 64px);
  color: #F2FFF6;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.page-fishing-games__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #A7D9B8;
  margin-bottom: 30px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* About Section */
.page-fishing-games__about-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-fishing-games__text-block {
  flex: 1;
  font-size: 17px;
  color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__text-block p {
  margin-bottom: 15px;
}

.page-fishing-games__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-fishing-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-fishing-games__features-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-card-bg);
}

.page-fishing-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__step-card {
  text-align: center;
}

.page-fishing-games__step-icon {
  width: 60px;
  height: 60px;
  background: var(--page-fishing-games-btn-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__how-to-image-wrapper {
  margin-top: 40px;
}

/* Strategy Section */
.page-fishing-games__strategy-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-card-bg);
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg);
}

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

.page-fishing-games__promotion-card {
  text-align: center;
}

.page-fishing-games__promotion-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Security Section */
.page-fishing-games__security-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-card-bg);
}

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

.page-fishing-games__security-item {
  text-align: center;
}

.page-fishing-games__security-image-wrapper {
  margin-top: 40px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  background-color: var(--page-fishing-games-card-bg);
  border: 1px solid var(--page-fishing-games-border);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-fishing-games-text-main);
  cursor: pointer;
  background-color: var(--page-fishing-games-card-bg);
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  border-bottom-color: var(--page-fishing-games-border);
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-fishing-games-glow);
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--page-fishing-games-text-secondary);
}

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
  padding: 80px 0;
  background-color: var(--page-fishing-games-card-bg);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-fishing-games__hero-content {
    max-width: 700px;
  }
  .page-fishing-games__hero-title {
    font-size: clamp(32px, 5vw, 56px);
  }
  .page-fishing-games__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-fishing-games__content-wrapper {
    flex-direction: column;
  }
  .page-fishing-games__image-block {
    margin-top: 40px;
  }
  .page-fishing-games__about-section .page-fishing-games__text-block,
  .page-fishing-games__security-section .page-fishing-games__security-grid {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-bottom: 40px;
  }
  .page-fishing-games__hero-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px;
    margin-top: -100px; /* Pull content up slightly over the image */
    background: rgba(0, 0, 0, 0.6); /* Add background for readability */
    border-radius: 12px;
  }
  .page-fishing-games__hero-image-wrapper {
    max-height: 400px;
  }
  .page-fishing-games__section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .page-fishing-games__section-description {
    font-size: clamp(15px, 2.5vw, 17px);
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__about-section,
  .page-fishing-games__features-section,
  .page-fishing-games__how-to-play-section,
  .page-fishing-games__strategy-section,
  .page-fishing-games__promotions-section,
  .page-fishing-games__security-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-final-section {
    padding: 60px 0;
  }
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games__faq-question {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-fishing-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }
  .page-fishing-games__hero-content {
    margin-top: -50px; /* Adjust if needed, but ensure no overlap */
    position: relative; /* Change to relative to prevent overlap issues from absolute positioning */
    transform: none; /* Reset transform */
    left: auto;
    top: auto;
    padding: 20px;
    width: calc(100% - 30px); /* Adjust for padding on container */
    box-sizing: border-box;
  }
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__hero-title {
    font-size: clamp(28px, 8vw, 48px);
  }
  .page-fishing-games__hero-description {
    font-size: clamp(14px, 3vw, 18px);
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-fishing-games__faq-question {
    font-size: 15px;
    padding: 12px 15px;
  }
  .page-fishing-games__faq-answer {
    font-size: 14px;
    padding: 0 15px 12px 15px;
  }
}