/* style/fishing-games.css */
:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #f8f9fa;
    --background-dark: #1A202C;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default for light background sections */
    background-color: var(--background-light);
}

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

.page-fishing-games__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

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

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

.page-fishing-games__hero-content {
    flex: 1;
    padding: 0 40px;
    text-align: left;
    z-index: 1;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 600px;
    color: var(--text-light);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    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-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    color: var(--primary-color);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-fishing-games__btn-center {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.page-fishing-games__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    height: 100%;
}

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

/* General Section Styling */
.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--secondary-color);
}

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__guide-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-fishing-games__game-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

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

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

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: var(--text-light);
}

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

.page-fishing-games__step-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

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

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

/* Strategy Section */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__strategy-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid var(--secondary-color);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__strategy-sub-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

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

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

.page-fishing-games__promo-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

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

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

/* Security Section */
.page-fishing-games__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

.page-fishing-games__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-icon {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f0f0f0;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #e0e0e0;
}

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

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: var(--header-offset, 120px);
    }

    .page-fishing-games__hero-content {
        padding: 40px 20px;
    }

    .page-fishing-games__hero-image-wrapper {
        justify-content: center;
        padding: 20px;
    }

    .page-fishing-games__hero-image {
        max-width: 80%;
    }

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

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .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__container {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__hero-content {
        padding: 30px 15px;
    }

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

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

    .page-fishing-games__hero-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__game-image,
    .page-fishing-games__step-image,
    .page-fishing-games__promo-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        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__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column;
    }
    
    .page-fishing-games img {
        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 video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

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

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

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

    .page-fishing-games__hero-description,
    .page-fishing-games__text-block,
    .page-fishing-games__game-description,
    .page-fishing-games__step-description,
    .page-fishing-games__promo-description,
    .page-fishing-games__feature-description,
    .page-fishing-games__strategy-item p {
        font-size: 0.9em;
    }
}