/* style/fishing-games.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #121212;
    --background-light: #f8f9fa;
    --card-background-dark: rgba(255, 255, 255, 0.1);
    --border-color: #333333;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Inherited from shared.css, but defined for clarity */
    line-height: 1.6;
    padding-top: 100px; /* Adjust for fixed header on desktop */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--text-light);
    overflow: hidden;
    padding-top: 100px; /* Ensure content is not hidden by fixed header */
}

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

.page-fishing-games__container--hero {
    padding-top: 20px; /* Additional spacing for hero content */
}

.page-fishing-games__main-title {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-large {
    padding: 18px 50px;
    font-size: 1.2em;
}

/* General Section Styling */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    padding-top: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__about-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section {
    background-color: var(--background-dark);
    padding: 60px 0;
}

.page-fishing-games__why-choose-section,
.page-fishing-games__strategy-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom {
    background-color: var(--secondary-color);
    padding: 60px 0;
    color: var(--text-light);
}

.page-fishing-games__text-block {
    flex: 1;
    padding: 20px;
}

.page-fishing-games__text-block h3 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-fishing-games__text-block p {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-fishing-games__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
    color: darken(var(--primary-color), 10%);
    text-decoration: underline;
}

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

.page-fishing-games__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-fishing-games__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* Feature Grid */
.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-background-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

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

.page-fishing-games__card-icon {
    width: 120px; /* Min size 200x200 requirement met for images, these are card specific 'icons' */
    height: 120px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

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

/* Strategy Section */
.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-card {
    background-color: var(--card-background-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    height: 100%;
}

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

/* Promotions Section */
.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-background-dark);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-light);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-fishing-games__promo-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--card-background-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Changed from '-' to rotate '+' */
}

.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 25px;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-light);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 8px 8px;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Bottom CTA Section */
.page-fishing-games__cta-bottom {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-fishing-games__cta-bottom .page-fishing-games__section-title {
    margin-bottom: 20px;
    padding-top: 0;
}

.page-fishing-games__cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 2.8em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description,
    .page-fishing-games__cta-bottom p {
        font-size: 1.1em;
    }
    .page-fishing-games__content-wrapper {
        flex-direction: column;
    }
    .page-fishing-games__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-fishing-games__text-block, .page-fishing-games__image-wrapper {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        padding-top: 80px !important; /* Adjust for mobile fixed header */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        padding-top: 80px !important; /* Ensure hero section is visible */
        padding: 40px 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 25px;
        font-size: 1em;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .page-fishing-games__about-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__text-block h3 {
        font-size: 1.4em;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-fishing-games__text-block p {
        font-size: 0.95em;
    }
    .page-fishing-games__card-icon {
        width: 90px;
        height: 90px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__promo-image {
        height: 150px;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 1em;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px !important;
    }
    .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__image-wrapper,
    .page-fishing-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__cta-bottom p {
        font-size: 1em;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-fishing-games__card-title {
        font-size: 1.2em;
    }
}