/* General styles for the fishing games page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #FFF1E8); /* Default text color for dark background */
    background-color: var(--site-bg, #140C0C); /* Default background color */
}

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

.page-fishing-games__section-title {
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gold, #F3C54D); /* Gold color for titles */
    line-height: 1.2;
}

.page-fishing-games__section-subtitle {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-main, #FFF1E8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Light background section styles */
.page-fishing-games__light-bg {
    background-color: #f9f9f9; /* A light background for contrast sections */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__section-subtitle {
    color: #333333;
}

/* Dark background section styles */
.page-fishing-games__dark-bg {
    background-color: var(--background, #140C0C); /* Main dark background */
    color: var(--text-main, #FFF1E8); /* Light text for dark background */
    padding: 60px 0;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: var(--gold, #F3C54D);
}

.page-fishing-games__dark-bg .page-fishing-games__section-subtitle {
    color: var(--text-main, #FFF1E8);
}


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

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #ffffff; /* As per rule "按钮文字始终使用白色" */
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #FFC570 0%, #F07E2F 100%);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
    background: rgba(243, 197, 77, 0.1);
    color: #ffffff;
}

.page-fishing-games__btn-tertiary {
    background-color: var(--deep-red, #7E0D0D);
    color: #ffffff;
    border: none;
    font-size: 0.9em;
    padding: 8px 15px;
    border-radius: 5px;
}

.page-fishing-games__btn-tertiary:hover {
    background-color: var(--main-color, #C61F1F);
}

/* Images */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for desktop hero image */
    overflow: hidden;
    position: relative;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0; /* Hero image usually full width, no border radius */
}

.page-fishing-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    width: 100%;
    background-color: var(--card-bg, #2A1212);
    border-radius: 12px;
    margin-top: -80px; /* Overlap with image slightly for visual effect */
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    color: var(--gold, #F3C54D);
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: var(--text-main, #FFF1E8);
    margin-bottom: 30px;
}

.page-fishing-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

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

.page-fishing-games__introduction-section p {
    margin-bottom: 1.5em;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-fishing-games__image-full-width {
    margin-top: 40px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Why Choose Section */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__feature-item {
    background-color: var(--card-bg, #2A1212);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border, #6A1E1E);
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: var(--gold, #F3C54D);
    margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
    color: var(--text-main, #FFF1E8);
}

/* Popular Games Section */
.page-fishing-games__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-card {
    background-color: var(--card-bg, #2A1212);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--border, #6A1E1E);
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 0;
}

.page-fishing-games__game-card-title {
    font-size: 1.4em;
    color: var(--gold, #F3C54D);
    margin: 20px 15px 10px;
}

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

.page-fishing-games__game-card .page-fishing-games__btn-tertiary {
    margin-bottom: 20px;
}

.page-fishing-games__view-all-games {
    text-align: center;
    margin-top: 40px;
}

/* How to Play Section */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: var(--card-bg, #2A1212);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border, #6A1E1E);
}

.page-fishing-games__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--gold, #F3C54D);
    color: var(--background, #140C0C);
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    color: var(--gold, #F3C54D);
    margin-bottom: 10px;
}

.page-fishing-games__step-item p {
    color: var(--text-main, #FFF1E8);
}

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

.page-fishing-games__tip-item {
    background-color: #ffffff; /* Light background for tips */
    color: #333333; /* Dark text for light background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-fishing-games__tip-title {
    font-size: 1.4em;
    color: var(--deep-red, #7E0D0D); /* Deep red for tip titles */
    margin-bottom: 10px;
}

.page-fishing-games__tip-item p {
    color: #333333;
}

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

.page-fishing-games__promo-item {
    background-color: var(--card-bg, #2A1212);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--border, #6A1E1E);
}

.page-fishing-games__promo-title {
    font-size: 1.5em;
    color: var(--gold, #F3C54D);
    margin-bottom: 15px;
}

.page-fishing-games__promo-item p {
    color: var(--text-main, #FFF1E8);
    margin-bottom: 20px;
}

.page-fishing-games__view-all-promos {
    text-align: center;
    margin-top: 40px;
}

/* CTA Section */
.page-fishing-games__cta-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__section-subtitle {
    color: #333333; /* Dark text for light CTA background */
}

.page-fishing-games__cta-buttons-bottom {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border, #6A1E1E);
  overflow: hidden;
  background: var(--card-bg, #2A1212);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: var(--deep-red, #7E0D0D);
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--gold, #F3C54D);
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold, #F3C54D);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: var(--background, #140C0C);
  border-radius: 0 0 5px 5px;
  color: var(--text-main, #FFF1E8);
}
.page-fishing-games__faq-answer p {
    margin-bottom: 1em;
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__section-title {
        font-size: 2.5em;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__tips-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-fishing-games__steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px; /* Still small top padding */
    }

    .page-fishing-games__hero-image {
        max-height: 400px; /* Adjust hero image height for mobile */
        object-fit: contain; /* Banner object-fit:contain for 849px */
    }
    
    .page-fishing-games__hero-content {
        margin-top: -40px; /* Less overlap on mobile */
        padding: 25px 15px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(2em, 8vw, 2.5em); /* Use clamp for H1 font size */
        margin-bottom: 15px;
    }

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

    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__cta-buttons-bottom {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}