/* style/fishing-games.css */

/* Base styles and variables */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --accent-color: #EA7C07; /* Login/CTA button color */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--bg-light); /* Assuming body has default white or light background */
}

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

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

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark background sections */
.page-fishing-games__dark-bg {
    background-color: var(--primary-color); /* Using brand primary color for dark sections */
    color: var(--text-light);
    padding: 60px 0;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: var(--text-light);
}

.page-fishing-games__dark-bg .page-fishing-games__text-block {
    color: var(--text-light);
}

/* Light background sections */
.page-fishing-games__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
}

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

.page-fishing-games__btn-primary {
    background-color: var(--accent-color); /* Login color */
    color: var(--text-light);
    border: 2px solid var(--accent-color);
}

.page-fishing-games__btn-primary:hover {
    background-color: #cc6800; /* Darker orange */
    border-color: #cc6800;
}

.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-light);
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

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

.page-fishing-games__text-link:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    color: var(--text-light);
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-fishing-games__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Slightly dim the background image */
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-fishing-games__video-wrapper {
    margin: 40px auto;
    max-width: 800px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 10px;
}

.page-fishing-games__video-wrapper .page-fishing-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block; /* Make the whole area clickable */
    z-index: 10; /* Ensure link is above video controls */
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-fishing-games__video-caption {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: var(--text-dark);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-fishing-games__game-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

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

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

.page-fishing-games__game-card .page-fishing-games__card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
    font-size: 0.95em;
    color: var(--text-dark);
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1; /* Make description take available space */
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    margin: 0 15px;
    width: calc(100% - 30px);
}


/* Guide Section */
.page-fishing-games__guide-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-fishing-games__step-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

/* Strategy Section */
.page-fishing-games__strategy-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.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-item {
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-fishing-games__strategy-item .page-fishing-games__card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

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

.page-fishing-games__strategy-item p {
    font-size: 1em;
    color: var(--text-dark);
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.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(--bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-fishing-games__promo-card .page-fishing-games__card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

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

.page-fishing-games__promo-card .page-fishing-games__card-description {
    font-size: 0.95em;
    color: var(--text-dark);
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
    margin: 0 15px;
    width: calc(100% - 30px);
}

/* Benefits Section */
.page-fishing-games__benefits-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-fishing-games__benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__benefit-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__benefit-title {
    font-size: 1.6em;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__benefit-item p {
    font-size: 1em;
    color: var(--text-light);
    flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

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

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none; /* Hide default marker */
    user-select: none; /* Prevent text selection on click */
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    text-align: left;
    color: var(--primary-color);
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .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 {
        flex-direction: column;
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
        padding-bottom: 40px;
    }

    .page-fishing-games__hero-content {
        order: 2; /* Content below image on mobile */
        padding: 20px 15px;
    }

    .page-fishing-games__hero-image-wrapper {
        position: relative;
        height: 250px; /* Smaller image on top for mobile */
        width: 100%;
        order: 1;
    }

    .page-fishing-games__main-title {
        font-size: 2.2em;
    }

    .page-fishing-games__hero-description {
        font-size: 1.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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__game-card .page-fishing-games__card-image,
    .page-fishing-games__strategy-item .page-fishing-games__card-image,
    .page-fishing-games__promo-card .page-fishing-games__card-image {
        height: 180px; /* Adjust card image height for mobile */
    }

    /* Video responsiveness */
    .page-fishing-games__video-wrapper {
        padding-bottom: 75%; /* Adjust aspect ratio for better mobile viewing, e.g., 4:3 */
        margin: 20px auto;
    }
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }

    .page-fishing-games__text-block {
        font-size: 1em;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__benefit-list {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
}