/* style/fishing-games.css */

:root {
    --primary-color: #001F3F;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a; /* From shared.css body background */
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --card-bg-light: #ffffff;
    --border-light: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for the page content, considering dark body background */
    background-color: var(--bg-dark);
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    box-sizing: border-box;
}

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

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

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

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

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.6;
    color: var(--text-light);
}

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

.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: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.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: #e6c200;
    transform: translateY(-3px);
}

.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);
    transform: translateY(-3px);
}

.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;
    margin-bottom: 20px;
    text-align: center;
    color: var(--secondary-color);
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-fishing-games__intro-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--card-bg-light);
    color: var(--text-dark);
}

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

.page-fishing-games__text-white {
    color: var(--text-light);
}

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

.page-fishing-games__text-block {
    flex: 1;
    line-height: 1.7;
    font-size: 1.05em;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
}

.page-fishing-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__image-block img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
}

.page-fishing-games__game-types-section,
.page-fishing-games__strategy-section,
.page-fishing-games__why-choose-us-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-fishing-games__card {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

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

.page-fishing-games__card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
    padding: 0 15px;
}

.page-fishing-games__card-text {
    font-size: 0.95em;
    line-height: 1.6;
    padding: 0 15px 20px;
}

.page-fishing-games__card-button {
    margin-top: auto; /* Push button to bottom */
    margin-bottom: 20px;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.page-fishing-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.page-fishing-games__step-content {
    flex-grow: 1;
}

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

.page-fishing-games__step-content p {
    line-height: 1.6;
    font-size: 1.05em;
}

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

.page-fishing-games__strategy-card {
    background-color: var(--card-bg-dark);
    color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__strategy-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-fishing-games__strategy-card .page-fishing-games__card-title {
    color: var(--secondary-color);
}

.page-fishing-games__promo-card {
    background-color: var(--card-bg-light);
    color: var(--text-dark);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    color: var(--primary-color);
}

.page-fishing-games__feature-item {
    background-color: var(--card-bg-dark);
    color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-fishing-games__feature-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

.page-fishing-games__feature-item p {
    line-height: 1.6;
    font-size: 1.05em;
}

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.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;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    line-height: 1.6;
    font-size: 1em;
}

.page-fishing-games__faq-answer p {
    padding-bottom: 20px; /* Only bottom padding for the paragraph */
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-question {
    background-color: #e8e8e8;
    border-bottom: none;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games__main-title {
        font-size: 2.8em;
    }

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

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

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

    .page-fishing-games__image-block,
    .page-fishing-games__text-block {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        height: auto;
        min-height: 70vh;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__main-title {
        font-size: 2em;
        margin-top: 20px;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }

    .page-fishing-games__container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__intro-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__why-choose-us-section {
        padding: 40px 0;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-fishing-games__content-wrapper {
        gap: 20px;
    }

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

    .page-fishing-games__game-cards,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card img,
    .page-fishing-games__strategy-card img,
    .page-fishing-games__promo-card img {
        
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-fishing-games__step-item {
        flex-direction: column;
        text-align: center;
    }

    .page-fishing-games__step-number {
        font-size: 2em;
    }

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

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

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

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }
}

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

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

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