/* style/fishing-games.css */

/* Base Styles */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1);
}

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

.page-fishing-games__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games__section-subtitle {
    font-size: 1.2em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__text-block p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #f0f0f0;
}

/* Buttons */
.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background-color: #FFD700;
    color: #1A2E44;
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
    background-color: #e0b800;
    border-color: #e0b800;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A2E44;
    transform: translateY(-2px);
}

/* Hero Section */
.page-fishing-games__hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background-color: #1A2E44;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    position: relative;
    overflow: hidden;
}

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

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

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.7;
}

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

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

/* About Section */
.page-fishing-games__about-section {
    background-color: var(--dark-bg-1);
}

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

.page-fishing-games__content-grid .page-fishing-games__text-block {
    flex: 1;
}

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

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

/* Game Showcase */
.page-fishing-games__games-showcase {
    background-color: #1A2E44;
}

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

.page-fishing-games__card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #1A2E44;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-fishing-games__card-button:hover {
    background-color: #e0b800;
}

/* Benefits Section */
.page-fishing-games__benefits-section {
    background-color: #1A2E44;
    color: #ffffff; /* Forced white text for dark section */
}

.page-fishing-games__dark-section {
    background-color: #1A2E44;
    color: #ffffff;
}

.page-fishing-games__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-fishing-games__benefit-item {
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__benefit-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain; /* Ensure large icons fit */
}

.page-fishing-games__benefit-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-fishing-games__benefit-description {
    font-size: 1em;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Guide Section */
.page-fishing-games__guide-section {
    background-color: var(--dark-bg-1);
}

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

.page-fishing-games__guide-step {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #e0e0e0;
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: #1A2E44;
}

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

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

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: var(--dark-bg-1);
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

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

.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); /* Change + to X or - */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #e0e0e0;
}

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

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    background-color: #1A2E44;
    text-align: center;
    padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: var(--header-offset, 120px);
    }
    .page-fishing-games__hero-content {
        max-width: 100%;
        padding: 30px 20px;
        text-align: center;
    }
    .page-fishing-games__hero-image-wrapper {
        padding: 0 20px 30px;
    }
    .page-fishing-games__content-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__section-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__cta-wrapper .page-fishing-games__cta-button,
    .page-fishing-games__cta-final-section .page-fishing-games__cta-button {
        margin: 0 auto;
    }
    .page-fishing-games__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__game-cards-grid, .page-fishing-games__benefits-grid, .page-fishing-games__guide-steps, .page-fishing-games__promo-cards-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__image-block {
        padding: 0 15px;
    }
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__promo-card .page-fishing-games__card-image {
        height: auto; /* Allow height to adjust on mobile */
    }
    .page-fishing-games__faq-question,
    .page-fishing-games__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 15px;
    }
}