/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #1a1a2e; /* From shared.css body background */
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --button-register-color: #C30808;
    --button-login-color: #C30808;
    --button-text-color: #FFFF00;
}

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px; /* Adjusted for header offset */
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    overflow: hidden;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.8); /* Allow brightness for background images */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

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

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

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

/* General Buttons */
.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, transform 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background-color: var(--button-register-color);
    color: var(--button-text-color);
    border: 2px solid var(--button-register-color);
}

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

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

.page-fishing-games__btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

/* Container for content sections */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Introduction Section */
.page-fishing-games__introduction-section .page-fishing-games__section-title,
.page-fishing-games__introduction-section .page-fishing-games__section-description {
    color: var(--dark-text-color);
}

.page-fishing-games__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-fishing-games__grid-item {
    text-align: center;
}

.page-fishing-games__grid-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

/* Features Section */
.page-fishing-games__features-section {
    text-align: center;
    padding: 60px 0;
}

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

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

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

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

.page-fishing-games__features-image {
    width: 100%;
    height: auto;
    max-width: 900px;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Guide Section */
.page-fishing-games__guide-section .page-fishing-games__section-title,
.page-fishing-games__guide-section .page-fishing-games__section-description {
    color: var(--dark-text-color);
}

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

.page-fishing-games__step-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--dark-text-color);
}

.page-fishing-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
}

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

.page-fishing-games__step-text {
    font-size: 1em;
}

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

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

.page-fishing-games__guide-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 50px auto 30px;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__tips-text {
    text-align: center;
    font-size: 1.1em;
    color: var(--dark-text-color);
    margin-top: 30px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    text-align: center;
    padding: 60px 0;
}

.page-fishing-games__promotion-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 700px;
}

.page-fishing-games__promotion-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    text-align: left;
    font-size: 1.1em;
    color: var(--secondary-color);
}

.page-fishing-games__promotions-image {
    width: 100%;
    height: auto;
    max-width: 1000px;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Security Section */
.page-fishing-games__security-section .page-fishing-games__section-title,
.page-fishing-games__security-section .page-fishing-games__section-description {
    color: var(--dark-text-color);
}

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

.page-fishing-games__security-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--dark-text-color);
}

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

.page-fishing-games__item-text {
    font-size: 1em;
}

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

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

.page-fishing-games__security-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 50px auto 30px;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
}

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

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

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

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-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 {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.page-fishing-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

/* CTA Section */
.page-fishing-games__cta-section {
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 0;
    filter: brightness(0.8); /* Allow brightness for background images */
}

.page-fishing-games__cta-title {
    position: relative;
    z-index: 1;
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__cta-description {
    position: relative;
    z-index: 1;
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }

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

    .page-fishing-games__content-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__grid-item:last-child {
        margin-top: 20px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__security-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

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

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

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

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

    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin: 0 auto;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.95em !important;
    }

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

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

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

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

    .page-fishing-games__content-grid,
    .page-fishing-games__features-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    .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 15px;
    }
}

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

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

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

    .page-fishing-games__hero-cta-buttons {
        width: 100%;
    }
}