/* style/fishing-games.css */

/* Color Variables */
:root {
    --primary-color: #F2C14E; /* 主色调 */
    --secondary-color: #FFD36B; /* 辅助色 */
    --button-gradient-start: #FFD86A;
    --button-gradient-end: #DDA11D;
    --card-bg: #111111;
    --background-dark: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;

    /* Default text color based on unknown body-bg, assuming it's dark for Black Gold theme */
    --default-text-color: #FFF6D6; /* Assuming body is dark, use light text */
    --default-light-text-color: #FFF6D6;
    --default-dark-text-color: #333333; /* For light backgrounds */
}

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--default-text-color); /* Default text color for the main content area */
    background-color: var(--background-dark); /* Overall dark background for the page */
}

.page-fishing-games a {
    text-decoration: none;
    color: var(--primary-color);
}

.page-fishing-games a:hover {
    color: var(--secondary-color);
}

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

/* Section Styles */
.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-fishing-games__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    color: var(--default-light-text-color); /* Light text for dark backgrounds */
    text-align: center;
}

/* HERO Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-dark);
    overflow: hidden; /* Ensure no overflow from image */
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width */
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden; /* Hide parts of the image that might overflow */
    border-radius: 8px;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: 675px; /* Set a fixed height for desktop to maintain aspect ratio */
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover; /* Crop image to fit container while maintaining aspect ratio */
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.4); /* Glow effect */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--default-light-text-color);
}

.page-fishing-games__main-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    max-width: 600px; /* Limit H1 width for better readability */
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
    /* No fixed font-size for h1, rely on default or responsive scaling */
}

.page-fishing-games__description {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main);
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
    max-width: 100%; /* Ensure button adapts to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
    background: linear-gradient(180deg, var(--button-gradient-end) 0%, var(--button-gradient-start) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.page-fishing-games__cta-button--secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

/* Introduction Section */
.page-fishing-games__introduction-section {
    background-color: var(--background-dark);
    color: var(--text-main);
    padding: 60px 0;
}

/* Features Section */
.page-fishing-games__features-section {
    background-color: #0d0d0d; /* Slightly lighter dark for contrast */
    color: var(--text-main);
    padding: 60px 0;
}

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

.page-fishing-games__feature-card {
    background-color: var(--card-bg); /* Dark card background */
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

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

.page-fishing-games__feature-card img {
    width: 100%;
    height: auto;
    max-width: 200px; /* Small images, but larger than 200x200px minimum */
     /* maintain 3:2 ratio for 200x133 */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
}

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

.page-fishing-games__card-text {
    font-size: 16px;
    color: var(--text-main);
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    background-color: var(--background-dark);
    color: var(--text-main);
    padding: 60px 0;
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

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

.page-fishing-games__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for game cards */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
}

.page-fishing-games__game-card .page-fishing-games__card-title a {
    color: var(--primary-color);
    font-size: 20px;
}

.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
    color: var(--secondary-color);
}

.page-fishing-games__btn-play {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: #ffffff;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(242, 193, 78, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
    background: linear-gradient(180deg, var(--button-gradient-end) 0%, var(--button-gradient-start) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 193, 78, 0.5);
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
    background-color: #0d0d0d;
    color: var(--text-main);
    padding: 60px 0;
}

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

.page-fishing-games__step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

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

.page-fishing-games__step-card img {
    width: 100%;
     /* Small images, but larger than 200x200px minimum */
     /* maintain 4:3 ratio for 120x90 */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(242, 193, 78, 0.4);
}

/* Tips Section */
.page-fishing-games__tips-section {
    background-color: var(--background-dark);
    color: var(--text-main);
    padding: 60px 0;
}

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

.page-fishing-games__tip-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-main);
}

.page-fishing-games__tip-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-fishing-games__tip-text {
    font-size: 16px;
    color: var(--text-main);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: #0d0d0d;
    color: var(--text-main);
    padding: 60px 0;
}

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

.page-fishing-games__promo-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

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

.page-fishing-games__promo-card img {
    width: 100%;
     /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid var(--primary-color);
}

.page-fishing-games__btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: #ffffff;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(242, 193, 78, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, var(--button-gradient-end) 0%, var(--button-gradient-start) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 193, 78, 0.5);
}

/* Security and Support Section */
.page-fishing-games__security-support-section {
    background-color: var(--background-dark);
    color: var(--text-main);
    padding: 60px 0;
}

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

.page-fishing-games__security-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-fishing-games__security-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.3);
}

.page-fishing-games__security-item img {
     /* Image size for icons */
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--primary-color)); /* Subtle glow for icons */
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: #0d0d0d;
    color: var(--text-main);
    padding: 60px 0;
}

.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: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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;
    color: var(--primary-color);
}

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: rgba(242, 193, 78, 0.1);
}

.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    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: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background for answer */
    border-radius: 0 0 8px 8px;
    color: var(--text-main);
}

.page-fishing-games__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: var(--text-main);
}

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

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    margin-bottom: 30px;
}

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image img {
        height: 500px;
    }
    .page-fishing-games__section-title {
        font-size: 30px;
    }
    .page-fishing-games__main-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Body handles header offset, small top padding for hero */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-image img {
        height: auto !important; /* Auto height for mobile */
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 4px;
    }
    .page-fishing-games__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-fishing-games__description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__cta-button,
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 15px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-list,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__security-grid,
    .page-fishing-games__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-card img,
    .page-fishing-games__game-card img,
    .page-fishing-games__promo-card img {
        height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__security-item,
    .page-fishing-games__tip-item {
        padding: 20px;
    }
    .page-fishing-games__card-title {
        font-size: 18px;
    }
    .page-fishing-games__card-text {
        font-size: 14px;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 15px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-fishing-games__faq-answer p {
        font-size: 14px;
    }
}