/* style/fishing-games.css */

/* Root variables for consistent theming */
:root {
    --page-fishing-games-primary-color: #26A9E0;
    --page-fishing-games-secondary-color: #FFFFFF;
    --page-fishing-games-dark-background: #0a0a0a; /* Body background from shared.css */
    --page-fishing-games-light-text: #ffffff;
    --page-fishing-games-dark-text: #333333;
    --page-fishing-games-login-color: #EA7C07;
}

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-fishing-games-light-text); /* Default light text for dark body background */
    background-color: var(--page-fishing-games-dark-background); /* Inherit or explicitly set for consistency */
}

.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(--page-fishing-games-primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background: linear-gradient(135deg, rgba(38, 169, 224, 0.8), rgba(0, 0, 0, 0.8)), url('[GALLERY:hero_background:1920x1080:ocean,deep_sea,abstract_pattern,fishing_game_theme]') no-repeat center center/cover;
    color: var(--page-fishing-games-light-text);
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    overflow: hidden;
}

.page-fishing-games__hero-section .page-fishing-games__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    z-index: 1;
}

.page-fishing-games__hero-content {
    flex: 1;
    text-align: left;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-fishing-games__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

.page-fishing-games__btn-primary:hover {
    background-color: #1e87b7; /* Darken of #26A9E0 */
    border-color: #1e87b7; /* Darken of #26A9E0 */
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(38, 169, 224, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(38, 169, 224, 0.4);
}

.page-fishing-games__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2em;
    min-width: 280px;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
    background-color: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-dark-text);
    padding: 60px 0;
}

.page-fishing-games__introduction-section .page-fishing-games__section-title {
    color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__introduction-section .page-fishing-games__text-block strong {
    color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

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

.page-fishing-games__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    transition: background 0.3s ease;
}

.page-fishing-games__video-wrapper:hover .page-fishing-games__video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.page-fishing-games__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: var(--page-fishing-games-secondary-color);
    background-color: rgba(38, 169, 224, 0.8);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.page-fishing-games__play-button:hover {
    background-color: var(--page-fishing-games-primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Features Section */
.page-fishing-games__features-section {
    background-color: var(--page-fishing-games-dark-background);
    color: var(--page-fishing-games-light-text);
    padding: 80px 0;
}

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

.page-fishing-games__feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(38, 169, 224, 0.2);
}

.page-fishing-games__feature-icon {
    width: 250px; /* As per HTML attribute */
    height: 250px; /* As per HTML attribute */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    background-color: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-dark-text);
    padding: 80px 0;
}

.page-fishing-games__popular-games-section .page-fishing-games__section-title {
    color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__game-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__game-card .page-fishing-games__card-title {
    font-size: 1.3em;
    color: var(--page-fishing-games-dark-text);
    margin: 20px 15px 10px;
}

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

.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
    color: var(--page-fishing-games-login-color); /* Use a distinct color for hover */
}

.page-fishing-games__game-card .page-fishing-games__card-description {
    color: var(--page-fishing-games-dark-text);
    font-size: 0.95em;
    padding: 0 15px 20px;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    background-color: var(--page-fishing-games-dark-background);
    color: var(--page-fishing-games-light-text);
    padding: 80px 0;
}

.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__guide-list li {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__guide-list li:last-child {
    margin-bottom: 0;
}

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

.page-fishing-games__guide-list p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-dark-text);
    padding: 80px 0;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title {
    color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__promotion-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-fishing-games__promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__promotion-image {
    width: 100%;
    height: 250px; /* Adjust height as needed */
    object-fit: cover;
    display: block;
}

.page-fishing-games__promotion-card .page-fishing-games__card-title {
    font-size: 1.3em;
    color: var(--page-fishing-games-dark-text);
    margin: 20px 15px 10px;
}

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

.page-fishing-games__promotion-card .page-fishing-games__card-title a:hover {
    color: var(--page-fishing-games-login-color);
}

.page-fishing-games__promotion-card .page-fishing-games__card-description {
    color: var(--page-fishing-games-dark-text);
    font-size: 0.95em;
    padding: 0 15px 20px;
}

.page-fishing-games__cta-buttons--single {
    margin-top: 50px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: var(--page-fishing-games-dark-background);
    color: var(--page-fishing-games-light-text);
    padding: 80px 0;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__faq-title {
    font-size: 1.2em;
    color: var(--page-fishing-games-primary-color);
    margin: 0;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    color: var(--page-fishing-games-secondary-color);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 200px; /* Adjust based on content, or use JS to calculate */
    padding: 15px 25px 25px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    background-color: var(--page-fishing-games-dark-background);
    color: var(--page-fishing-games-light-text);
    padding: 80px 0 100px;
    text-align: center;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 20px;
}

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-fishing-games__hero-section .page-fishing-games__container {
        flex-direction: column;
        text-align: center;
    }

    .page-fishing-games__hero-content {
        text-align: center;
    }

    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }

    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }

    .page-fishing-games__hero-buttons {
        justify-content: center;
    }

    .page-fishing-games__hero-image-wrapper {
        margin-top: 40px;
    }

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

    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-fishing-games__btn-primary--large {
        padding: 15px 30px;
        font-size: 1.1em;
        min-width: unset;
        width: 100%;
    }

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

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

    .page-fishing-games__feature-icon {
        width: 200px;
        height: 200px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3em;
    }

    .page-fishing-games__guide-list li {
        padding: 20px;
    }

    .page-fishing-games__list-title {
        font-size: 1.2em;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }

    .page-fishing-games__faq-title {
        font-size: 1.1em;
    }

    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 10px 20px 20px;
    }
}

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100%;
    }

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

    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__feature-icon {
        width: 150px;
        height: 150px;
    }

    .page-fishing-games__card-title {
        font-size: 1.2em;
    }

    .page-fishing-games__play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5em;
    }

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