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

/* Base styles for the page, assuming a dark body background from shared.css */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Light text for dark background */
    background-color: var(--background-dark); /* Ensure consistency if shared.css doesn't apply directly */
    line-height: 1.6;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--text-main);
    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(--gold-color);
    border-radius: 2px;
}

.page-fishing-games__description {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    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__hero-content .page-fishing-games__description {
    color: var(--text-main);
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    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: var(--card-bg);
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--gold-color);
    color: var(--card-bg);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    max-width: 300px;
}

/* Content Sections */
.page-fishing-games__intro-section,
.page-fishing-games__games-section,
.page-fishing-games__guide-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__safety-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    background-color: var(--background-dark);
}

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

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

.page-fishing-games__text-block {
    flex: 1;
    color: var(--text-main);
}

.page-fishing-games__text-block p {
    margin-bottom: 1em;
}

.page-fishing-games__text-block h3 {
    color: var(--gold-color);
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-fishing-games__image-right,
.page-fishing-games__image-left {
    flex: 1;
    min-width: 200px; /* Minimum size for content images */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

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

.page-fishing-games__card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency in cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min-size for card images */
    min-height: 200px;
}

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

.page-fishing-games__card-title a {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.page-fishing-games__card-button {
    display: inline-block;
    padding: 10px 20px;
    background: var(--button-gradient);
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: background 0.3s ease;
}

.page-fishing-games__card-button:hover {
    opacity: 0.9;
}

/* Guide List */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__guide-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__guide-step-title {
    color: var(--gold-color);
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-fishing-games__guide-list p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Strategy List */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
}

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

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

/* Safety List */
.page-fishing-games__safety-list {
    list-style: none;
    padding: 0;
}

.page-fishing-games__safety-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    color: var(--gold-color);
    cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Old versions of Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

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

.page-fishing-games__faq-item summary {
    list-style: none;
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    font-weight: 600;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 1.05em;
    line-height: 1.5;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    text-align: center;
    background-color: var(--deep-green);
    padding: 80px 0;
}

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

/* General Image styles (ensure min size and no filters) */
.page-fishing-games img {
    min-width: 200px;
    min-height: 200px;
    filter: none; /* Absolutely no filters */
}

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

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-fishing-games__hero-content .page-fishing-games__description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-fishing-games__content-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }
    .page-fishing-games__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-fishing-games__card {
        padding: 20px;
    }
    .page-fishing-games__card-image {
        height: auto;
        max-height: 250px;
    }
    .page-fishing-games__guide-list li,
    .page-fishing-games__strategy-list li,
    .page-fishing-games__safety-list li,
    .page-fishing-games__faq-item {
        padding: 15px;
        margin-bottom: 10px;
    }
    .page-fishing-games__guide-step-title,
    .page-fishing-games__card-title {
        font-size: 1.2em;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    .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 {
        max-height: 300px !important;
    }
    .page-fishing-games__image-right,
    .page-fishing-games__image-left {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__container,
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__content-wrapper,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-fishing-games__btn-center {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .page-fishing-games__hero-image {
        max-height: 250px !important;
    }
}