/* style/fishing-games.css */

/* Base Styles for the page content */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text on dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

/* Section Styling */
.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
}

.page-fishing-games__dark-bg {
    background-color: #017439; /* Primary brand color for dark sections */
    color: #ffffff;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff; /* White title on dark background */
    font-weight: bold;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.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;
    filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 20px;
}

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

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* 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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background-color: #017439; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-fishing-games__btn-primary:hover {
    background-color: #02944a; /* Slightly lighter green */
    border-color: #02944a;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

/* Specific button styles for Register/Login */
.page-fishing-games__btn-register-login {
    background-color: #C30808; /* Custom red for register/login */
    color: #ffffff; /* White text for contrast */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-register-login:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
}

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

.page-fishing-games__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__card-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-fishing-games__card-text {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1;
    margin-bottom: 20px;
}

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

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

.page-fishing-games__guide-heading {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-fishing-games__guide-item p {
    font-size: 1em;
    color: #f0f0f0;
}

.page-fishing-games__guide-item a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: underline;
}

.page-fishing-games__guide-item a:hover {
    color: #ffd700;
}

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

.page-fishing-games__strategy-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__strategy-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__strategy-heading {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

.page-fishing-games__strategy-item p {
    font-size: 1em;
    color: #f0f0f0;
    text-align: center;
}

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

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

.page-fishing-games__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-fishing-games__feature-heading {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-fishing-games__feature-item p {
    font-size: 1em;
    color: #f0f0f0;
}

/* App Download Section */
.page-fishing-games__app-download-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__app-info {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.page-fishing-games__app-heading {
    font-size: 2em;
    color: #ffffff;
    margin-bottom: 20px;
}

.page-fishing-games__app-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-fishing-games__app-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
    color: #f0f0f0;
}

.page-fishing-games__app-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #FFFF00; /* Yellow checkmark */
}

.page-fishing-games__app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-fishing-games__btn-download {
    background-color: #C30808; /* Red for download buttons */
    border-color: #C30808;
    color: #ffffff;
}

.page-fishing-games__btn-download:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
}

.page-fishing-games__app-image-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__app-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px 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-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-heading {
    font-size: 1.4em;
    color: #ffffff;
    margin: 0;
}

.page-fishing-games__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFFF00; /* Yellow toggle icon */
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'x' or '-' */
    content: '−'; /* Change to minus sign */
}

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

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

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

.page-fishing-games__faq-answer a {
    color: #FFFF00; /* Yellow for links */
    text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
    color: #ffd700;
}

.page-fishing-games__link-inline {
    color: #FFFF00;
    text-decoration: underline;
}

.page-fishing-games__link-inline:hover {
    color: #ffd700;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding-bottom: 80px;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-description {
    margin-bottom: 40px;
}

.page-fishing-games__conclusion-section .page-fishing-games__cta-buttons {
    margin-top: 40px;
}

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

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-fishing-games__hero-content {
        padding: 15px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__cta-buttons,
    .page-fishing-games__app-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__section {
        padding: 40px 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-description {
        font-size: 0.95em;
    }

    /* Images responsiveness */
    .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,
    .page-fishing-games__app-download-content,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-fishing-games__app-download-content {
        flex-direction: column;
    }
    .page-fishing-games__app-info,
    .page-fishing-games__app-image-wrapper {
        max-width: 100%;
        min-width: unset;
        width: 100%;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-heading {
        font-size: 1.2em;
    }
    .page-fishing-games__faq-toggle {
        font-size: 1.5em;
    }
    .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-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
}