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

/* Base styles for the page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--bk88-text-main); /* Default text color for dark background */
    background-color: var(--bk88-background); /* Body background from shared.css, this is for page sections */
}

.page-fishing-games a {
    color: var(--bk88-gold);
    text-decoration: none;
}

.page-fishing-games a:hover {
    text-decoration: underline;
    color: var(--bk88-glow);
}

/* Ensure images are not filtered */
.page-fishing-games img {
    filter: none;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--bk88-text-main);
    line-height: 1.2;
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--bk88-text-main);
}

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

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
    list-style-position: inside;
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--bk88-text-secondary);
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
    margin-bottom: 8px;
}

/* Colors for sections based on background */
.page-fishing-games__dark-section {
    background-color: var(--bk88-background);
    color: var(--bk88-text-main);
}

.page-fishing-games__light-bg {
    background-color: var(--bk88-card-bg);
    color: var(--bk88-text-main);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 40px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    margin-top: 20px; /* Space from image */
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
    font-weight: 900;
    color: var(--bk88-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: var(--bk88-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 15px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--bk88-button-gradient);
    color: var(--bk88-text-main);
    border: none;
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

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

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

/* Columns Layout */
.page-fishing-games__columns {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-fishing-games__column-text {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__column-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-fishing-games__image-content {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

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

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

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

.page-fishing-games__card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

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

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--bk88-text-main);
    list-style: none; /* For details/summary */
}

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

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

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

.page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--bk88-text-secondary);
}

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
}

/* Conclusion Section */
.page-fishing-games__conclusion .page-fishing-games__cta-buttons {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image-wrapper {
        max-height: 500px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 4vw, 3em);
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.5em;
    }
    .page-fishing-games__card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__sub-title {
        font-size: 1.3em;
    }
    .page-fishing-games__text-block {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px !important;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.9em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__columns {
        flex-direction: column;
        gap: 30px;
    }
    .page-fishing-games__game-cards {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__card {
        padding: 20px;
    }
    .page-fishing-games__card-image {
        height: 160px;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__columns,
    .page-fishing-games__column-text,
    .page-fishing-games__column-image,
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__login-guide,
    .page-fishing-games__game-types,
    .page-fishing-games__how-to-play,
    .page-fishing-games__promotions,
    .page-fishing-games__app-download,
    .page-fishing-games__security,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    /* Specific override for hero section padding for mobile */
    .page-fishing-games__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-fishing-games__hero-content {
        padding: 0 15px;
    }
}