/* style/fishing-games.css */

/* Base Styles for Fishing Games Page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from shared.css body background */
}

.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.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

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

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

.page-fishing-games__text-block strong {
    color: #FFFF00;
}

.page-fishing-games__text-block a {
    color: #00bfff; /* A distinct color for links */
    text-decoration: underline;
}

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

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__section-subtitle,
.page-fishing-games__dark-section .page-fishing-games__text-block {
    color: #ffffff;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-register,
.page-fishing-games__btn-download,
.page-fishing-games__btn-large {
    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, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-large {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

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

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

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

.page-fishing-games__btn-play {
    background-color: #017439;
    color: #ffffff;
    border: none;
}

.page-fishing-games__btn-play:hover {
    background-color: #005f2c;
    transform: translateY(-2px);
}

/* Custom colors for Register/Login buttons */
.page-fishing-games__btn-register,
.page-fishing-games__btn-download {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding-top: 0; /* Assuming shared.css handles body padding */
}

.page-fishing-games__hero-bg-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;
}

.page-fishing-games__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Highlighted title */
}

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

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

/* Introduction Section */
.page-fishing-games__introduction-section {
    background-color: #1a1a1a; /* Dark background from body */
    color: #f0f0f0;
}

/* Featured Games Section */
.page-fishing-games__featured-games-section {
    background-color: #017439;
}

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

.page-fishing-games__game-card {
    background-color: #1a1a1a; /* Dark card background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

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

.page-fishing-games__btn-play {
    margin: 0 15px;
}

/* Benefits Section */
.page-fishing-games__benefits-section {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

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

.page-fishing-games__benefit-item {
    background-color: #017439;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__benefit-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-fishing-games__benefit-description {
    font-size: 1em;
    color: #ffffff;
}

/* Guide Section */
.page-fishing-games__guide-section {
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__guide-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__guide-text {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__guide-subtitle {
    font-size: 1.8em;
    color: #FFFF00;
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-fishing-games__guide-text p {
    color: #ffffff;
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-fishing-games__guide-image-wrapper {
    flex: 1;
    min-width: 400px;
    text-align: center;
}

.page-fishing-games__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Strategies Section */
.page-fishing-games__strategies-section {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

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

.page-fishing-games__strategy-list li {
    background-color: #017439;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__strategy-list li strong {
    color: #FFFF00;
}

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

.page-fishing-games__promotion-card {
    display: flex;
    flex-wrap: wrap;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
    align-items: center;
}

.page-fishing-games__promotion-image {
    flex: 1;
    min-width: 400px;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-fishing-games__promotion-content {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    text-align: center;
}

.page-fishing-games__promotion-content .page-fishing-games__card-title {
    color: #FFFF00;
    margin-bottom: 15px;
}

.page-fishing-games__promotion-content .page-fishing-games__card-description {
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Video Section */
.page-fishing-games__video-section {
    background-color: #1a1a1a;
    color: #f0f0f0;
    padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
}

.page-fishing-games__video-link-wrapper {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* CTA Section */
.page-fishing-games__cta-section {
    background-color: #017439;
    text-align: center;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

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

.page-fishing-games__faq-item {
    background-color: #017439;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

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

.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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #ffffff;
}

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

.page-fishing-games__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
    color: #ffffff;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    background-color: #017439;
    text-align: center;
}

.page-fishing-games__btn-large {
    margin-top: 30px;
    min-width: 250px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__guide-content {
        flex-direction: column;
    }
    .page-fishing-games__promotion-card {
        flex-direction: column;
    }
    .page-fishing-games__promotion-image,
    .page-fishing-games__promotion-content {
        min-width: unset;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        height: 60vh;
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play,
    .page-fishing-games__btn-register,
    .page-fishing-games__btn-download,
    .page-fishing-games__btn-large {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__benefits-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__game-card,
    .page-fishing-games__benefit-item,
    .page-fishing-games__promotion-card,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !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__video-link-wrapper {
        padding-bottom: 56.25% !important;
        height: 0 !important;
    }
    .page-fishing-games__video-section .page-fishing-games__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__promotion-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__guide-text,
    .page-fishing-games__guide-image-wrapper {
        min-width: unset;
    }
    .page-fishing-games__card-title,
    .page-fishing-games__benefit-title {
        font-size: 1.5em;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 10px 20px 20px;
    }
}