/* style/fishing-games.css */

/* --- General Page Styling --- */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #f9f9f9; /* Light background for the main content */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: #ffffff; /* Default section background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.page-fishing-games__section:nth-child(even) {
    background-color: #f5f5f5;
}

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #8B0000; /* Auxiliary color for main titles */
    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: #FFD700; /* Main color for underline */
    border-radius: 2px;
}

.page-fishing-games__card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: #333333;
    min-height: 350px; /* Ensure cards have a minimum height */
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: #8B0000;
    margin-top: 0;
    margin-bottom: 15px;
}

/* --- 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: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #FFD700, #8B0000); /* Background gradient for visual appeal */
    color: #ffffff;
}

.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%;
}

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

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: 48px;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__intro-text {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.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;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button adapts to width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-fishing-games__cta-button--primary {
    background: #FFD700;
    color: #8B0000;
    border: 2px solid #FFD700;
}

.page-fishing-games__cta-button--primary:hover {
    background: #FFC107;
    border-color: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary {
    background: #8B0000;
    color: #FFD700;
    border: 2px solid #8B0000;
}

.page-fishing-games__cta-button--secondary:hover {
    background: #A52A2A;
    border-color: #A52A2A;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* --- Introduction Section --- */
.page-fishing-games__introduction {
    text-align: center;
}

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

/* --- Featured Games Section --- */
.page-fishing-games__featured-games {
    text-align: center;
    background-color: #f0f0f0;
}

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

.page-fishing-games__game-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    min-height: 450px; /* Ensure cards have a minimum height */
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-fishing-games__game-title {
    font-size: 22px;
    color: #8B0000;
    margin-top: 10px;
    margin-bottom: 10px;
}

.page-fishing-games__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: #FFD700;
    color: #8B0000;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Ensure button adapts to width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-fishing-games__btn-primary:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* --- Guide Section --- */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-fishing-games__guide-list li {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-fishing-games__guide-list li:hover {
    border-color: #FFD700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__guide-heading {
    color: #8B0000;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-fishing-games__guide-list li p {
    margin-bottom: 0;
}

/* --- Strategies Section --- */
.page-fishing-games__strategies {
    text-align: center;
    background-color: #f0f0f0;
}

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

.page-fishing-games__strategy-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    min-height: 380px; /* Ensure cards have a minimum height */
}

.page-fishing-games__strategy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__strategy-item img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-fishing-games__strategy-heading {
    font-size: 22px;
    color: #8B0000;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* --- Promotions Section --- */
.page-fishing-games__promotions {
    text-align: center;
}

.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__promo-list li {
    background: #fdfdfd;
    border-left: 5px solid #FFD700;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    font-size: 17px;
    color: #333333;
}

.page-fishing-games__promotions img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

/* --- Platform Features Section --- */
.page-fishing-games__platform-features {
    text-align: center;
    background-color: #f0f0f0;
}

.page-fishing-games__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__feature-list li {
    background: #ffffff;
    border-left: 5px solid #8B0000;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    font-size: 17px;
    color: #333333;
}

.page-fishing-games__feature-list li strong {
    color: #8B0000;
}

/* --- FAQ Section --- */
.page-fishing-games__faq {
    background-color: #ffffff;
}

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

/* FAQ容器样式 */
.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}