/* style/fishing-games.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --background-dark: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background-dark); /* Ensure contrast with body background */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    background-color: var(--deep-green);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image wrapper */
    margin-bottom: 30px; /* Space between image and content */
    display: flex;
    justify-content: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    max-width: 1200px; /* Actual display width in layout */
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above any subtle background elements */
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__description {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--background-dark);
    transform: translateY(-3px);
}

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

.page-fishing-games__light-bg {
    background-color: var(--background-dark);
    color: var(--text-main);
    padding: 80px 0;
}

.page-fishing-games__dark-section {
    background-color: var(--card-bg);
    color: var(--text-main);
    padding: 80px 0;
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--gold-color);
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__description-small {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px auto;
}

/* About Section */
.page-fishing-games__about-section .page-fishing-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__about-section .page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__about-section .page-fishing-games__text-block p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-fishing-games__about-section .page-fishing-games__image-block {
    flex: 1;
    text-align: center;
}

.page-fishing-games__about-section .page-fishing-games__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-fishing-games__feature-icon {
    width: 150px;
    height: 112px; /* Maintain aspect ratio for 400x300 image, scaled down */
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Games List Section */
.page-fishing-games__games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__game-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    border: 1px solid var(--divider-color);
    display: flex;
    flex-direction: column;
}

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

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

.page-fishing-games__game-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-color);
    padding: 20px 20px 10px 20px;
}

.page-fishing-games__game-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-fishing-games__btn-play {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 12px 0;
    background: var(--button-gradient);
    color: var(--text-main);
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    box-sizing: border-box;
}

.page-fishing-games__btn-play:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Guide Section */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-fishing-games__step-item {
    background-color: var(--background-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--divider-color);
}

.page-fishing-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--text-main);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(17, 168, 78, 0.6);
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.page-fishing-games__image-block--center {
    text-align: center;
}

.page-fishing-games__guide-section .page-fishing-games__image {
    width: 100%;
    max-width: 1000px; /* Max width for the guide image */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Promotions Section */
.page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-fishing-games__promo-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--divider-color);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-fishing-games__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-color);
    padding: 20px 20px 10px 20px;
}

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 0 20px 20px 20px;
}

.page-fishing-games__cta-center {
    text-align: center;
}

/* Strategy Section */
.page-fishing-games__strategy-section .page-fishing-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-direction: row-reverse; /* Image on left, text on right */
}

.page-fishing-games__strategy-section .page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__strategy-section .page-fishing-games__text-block p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-fishing-games__strategy-list li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-fishing-games__strategy-list li strong {
    color: var(--gold-color);
}

.page-fishing-games__strategy-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.page-fishing-games__strategy-section .page-fishing-games__image-block {
    flex: 1;
    text-align: center;
}

.page-fishing-games__strategy-section .page-fishing-games__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--divider-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--card-bg);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-question:hover {
    background-color: var(--background-dark);
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--gold-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 25px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--background-dark);
    border-top: 1px solid var(--divider-color);
}

/* CTA Section */
.page-fishing-games__cta-container {
    text-align: center;
    padding: 60px 20px;
}

.page-fishing-games__cta-section .page-fishing-games__description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-fishing-games__hero-image {
        max-width: 1000px;
        height: 563px; /* 16:9 aspect ratio */
    }

    .page-fishing-games__about-section .page-fishing-games__content-wrapper,
    .page-fishing-games__strategy-section .page-fishing-games__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-fishing-games__about-section .page-fishing-games__image-block,
    .page-fishing-games__strategy-section .page-fishing-games__image-block {
        order: -1; /* Image appears first on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 10px 15px 40px 15px;
    }

    .page-fishing-games__hero-image {
        height: auto; /* Allow height to adjust */
    }

    .page-fishing-games__main-title {
        font-size: 2rem;
    }

    .page-fishing-games__description {
        font-size: 1rem;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__light-bg,
    .page-fishing-games__dark-section {
        padding: 50px 0;
    }

    .page-fishing-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-fishing-games__description-small {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    /* Images responsive */
    .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__hero-image-wrapper,
    .page-fishing-games__image-block,
    .page-fishing-games__promo-image,
    .page-fishing-games__game-image {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-item,
    .page-fishing-games__promo-card {
        padding: 20px;
    }

    .page-fishing-games__game-image {
        height: 180px;
    }

    .page-fishing-games__btn-play {
        width: calc(100% - 40px) !important;
        margin: 0 20px 20px 20px !important;
        padding: 10px 0;
    }

    .page-fishing-games__promo-image {
        height: 200px;
    }

    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        font-size: 0.9rem;
        padding: 10px 20px 20px 20px;
    }

    .page-fishing-games__cta-section .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__cta-section .page-fishing-games__btn-primary,
    .page-fishing-games__cta-section .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-fishing-games__guide-section .page-fishing-games__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__strategy-list li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8rem;
    }

    .page-fishing-games__section-title {
        font-size: 1.6rem;
    }

    .page-fishing-games__hero-content {
        padding: 0 10px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.95rem;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__promo-title {
        font-size: 1.2rem;
    }

    .page-fishing-games__step-title {
        font-size: 1.1rem;
    }
}