/* style/fishing-games.css */
:root {
    --color-primary: #C91F17;
    --color-secondary: #E53935;
    --color-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --color-card-bg: #D32F2F;
    --color-background-main: #B71C1C;
    --color-text-main: #FFF5E1;
    --color-border: #F2B544;
    --color-glow: #FFCC66;
    --color-gold: #F4D34D;
    --color-deep-red: #7A0E0E;
    --color-dark-text: #333333; /* For buttons on light gold background */
    --color-white: #ffffff;
    --color-black: #000000;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-background-main);
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top for fixed header */
}

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

.page-fishing-games__section-spacing {
    padding: 60px 0;
}

.page-fishing-games__card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 0 10px var(--color-glow);
    line-height: 1.2;
}

.page-fishing-games__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--color-text-main);
}

/* Hero Section */
.page-fishing-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0 60px 0; /* No top padding, handled by main, some bottom padding */
    position: relative;
    overflow: hidden;
    background-color: var(--color-deep-red);
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop, will be contain for mobile */
    filter: brightness(0.7);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap with image for visual appeal */
    background: rgba(var(--color-deep-red-rgb), 0.85); /* Use rgba for transparency effect */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--color-gold);
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    color: var(--color-gold);
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 0 15px var(--color-glow);
}

.page-fishing-games__description {
    font-size: 1.2em;
    color: var(--color-text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

.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,
.page-fishing-games__btn-play,
.page-fishing-games__btn-step,
.page-fishing-games__btn-promo {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-step,
.page-fishing-games__btn-promo {
    background: var(--color-button-gradient);
    color: var(--color-dark-text); /* Ensure contrast on light gold */
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover,
.page-fishing-games__btn-play:hover,
.page-fishing-games__btn-step:hover,
.page-fishing-games__btn-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-deep-red);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__feature-item {
    text-align: center;
}

.page-fishing-games__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-title {
    font-size: 1.6em;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: var(--color-text-main);
}

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

.page-fishing-games__game-tile {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.page-fishing-games__game-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1; /* Maintain square aspect ratio */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__game-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: var(--color-text-main);
    flex-grow: 1;
    margin-bottom: 20px;
}

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

.page-fishing-games__step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__step-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__step-description {
    font-size: 1em;
    color: var(--color-text-main);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Strategy Section */
.page-fishing-games__strategy-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.page-fishing-games__strategy-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--color-gold);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.page-fishing-games__strategy-list li {
    background-color: var(--color-card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 5px solid var(--color-gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    color: var(--color-text-main);
}

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

/* 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-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promo-title {
    font-size: 1.6em;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__promo-description {
    font-size: 1em;
    color: var(--color-text-main);
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    padding: 20px;
    background-color: var(--color-card-bg);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--color-text-main);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--color-gold);
    cursor: pointer;
    padding: 5px 0;
    list-style: none;
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-question::marker {
    display: none;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
    font-size: 1em;
    color: var(--color-text-main);
    padding-top: 15px;
    border-top: 1px solid rgba(255, 245, 225, 0.2);
    margin-top: 15px;
}

/* Call to Action Section */
.page-fishing-games__call-to-action {
    text-align: center;
    padding: 80px 0;
}

.page-fishing-games__dark-section {
    background-color: var(--color-deep-red);
    border-radius: 15px;
    padding: 60px 40px;
    border: 2px solid var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    margin: 0 auto;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: var(--color-gold);
    text-shadow: 0 0 12px var(--color-glow);
}

.page-fishing-games__dark-section .page-fishing-games__description {
    color: var(--color-text-main);
}

/* General Image Styling */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 3em;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-content {
        margin-top: -80px;
    }
    .page-fishing-games__strategy-content {
        flex-direction: column;
        align-items: center;
    }
    .page-fishing-games__strategy-image {
        max-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
        padding-top: 10px !important;
    }

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

    .page-fishing-games__section-spacing {
        padding: 40px 0;
    }

    /* Hero Section - Mobile */
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: none;
    }
    .page-fishing-games__hero-image {
        object-fit: contain !important; /* Mobile: contain to prevent cropping */
        aspect-ratio: unset !important;
        max-height: none !important;
    }
    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
        line-height: 1.2;
    }
    .page-fishing-games__description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play,
    .page-fishing-games__btn-step,
    .page-fishing-games__btn-promo {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Why Choose Us Section - Mobile */
    .page-fishing-games__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-item {
        padding: 20px;
    }
    .page-fishing-games__feature-icon {
        max-width: 200px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }

    /* Top Games Section - Mobile */
    .page-fishing-games__game-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns for games */
        gap: 15px;
    }
    .page-fishing-games__game-tile {
        padding: 15px;
    }
    .page-fishing-games__game-image {
        aspect-ratio: 1/1 !important; /* Ensure square aspect ratio */
        width: 100% !important;
        height: auto !important;
    }

    /* Guide Section - Mobile */
    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__step-item {
        padding: 20px;
    }
    .page-fishing-games__step-image {
        max-width: 250px;
    }

    /* Strategy Section - Mobile */
    .page-fishing-games__strategy-content {
        gap: 20px;
    }
    .page-fishing-games__strategy-list li {
        padding: 15px;
        font-size: 0.95em;
    }

    /* Promotions Section - Mobile */
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__promo-item {
        padding: 20px;
    }

    /* FAQ Section - Mobile */
    .page-fishing-games__faq-item {
        padding: 15px;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.95em;
    }

    /* Call to Action Section - Mobile */
    .page-fishing-games__dark-section {
        padding: 40px 20px;
    }

    /* Universal image and container responsive styles */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__game-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__promo-grid,
    .page-fishing-games__faq-list,
    .page-fishing-games__strategy-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
}