/* style/fishing-games.css */

/* Variables */
:root {
    --page-fishing-games-primary-color: #FFD700;
    --page-fishing-games-secondary-color: #8B0000;
    --page-fishing-games-text-light: #ffffff;
    --page-fishing-games-text-dark: #333333;
    --page-fishing-games-background-dark: #0a0a0a; /* Matches body background */
    --page-fishing-games-card-bg: rgba(255, 255, 255, 0.1);
}

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

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

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

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

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

.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: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
}

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

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--page-fishing-games-primary-color);
    border: 2px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-text-light);
    transform: translateY(-3px);
}

/* General Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__video-section,
.page-fishing-games__game-types-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__mobile-app-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-fishing-games-text-light);
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promotion-card {
    background: var(--page-fishing-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--page-fishing-games-text-light);
}

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

.page-fishing-games__feature-image,
.page-fishing-games__promotion-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

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

.page-fishing-games__card-description {
    font-size: 1em;
    color: var(--page-fishing-games-text-light);
    flex-grow: 1;
}

/* Video Section */
.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    width: 100%; /* Ensure video wrapper is responsive */
    box-sizing: border-box;
}

.page-fishing-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    cursor: pointer;
}

/* Game List */
.page-fishing-games__game-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__list-item {
    background: var(--page-fishing-games-card-bg);
    margin-bottom: 15px;
    padding: 15px 25px;
    border-left: 5px solid var(--page-fishing-games-primary-color);
    border-radius: 5px;
    text-align: left;
    font-size: 1.1em;
    color: var(--page-fishing-games-text-light);
}

.page-fishing-games__list-item strong {
    color: var(--page-fishing-games-primary-color);
}

/* How-to-Play */
.page-fishing-games__steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__how-to-play-section .page-fishing-games__list-item {
    background: var(--page-fishing-games-card-bg);
    margin-bottom: 15px;
    padding: 20px 25px 20px 60px;
    border-left: none;
    border-radius: 5px;
    text-align: left;
    font-size: 1.1em;
    color: var(--page-fishing-games-text-light);
    position: relative;
}

.page-fishing-games__how-to-play-section .page-fishing-games__list-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-text-light);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-fishing-games__how-to-play-section .page-fishing-games__list-item a {
    color: var(--page-fishing-games-primary-color);
    text-decoration: underline;
}

.page-fishing-games__how-to-play-section .page-fishing-games__list-item a:hover {
    color: #e6c200;
}

/* Security Section */
.page-fishing-games__security-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-fishing-games__security-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Adjust icon color for dark background if needed, but ensure original color is preserved for content images */
    /* IMPORTANT: For content images, filter: none; should be used. This is for monochrome icons. */
}

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

.page-fishing-games__app-text {
    flex: 1;
}

.page-fishing-games__app-image {
    flex: 1;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

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

.page-fishing-games__faq-item {
    background: var(--page-fishing-games-card-bg);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px 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;
    cursor: pointer;
    color: var(--page-fishing-games-primary-color);
    transition: background-color 0.3s ease;
}

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

.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); /* Plus to X / Minus */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--page-fishing-games-text-light);
}

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

.page-fishing-games__faq-answer p {
    margin: 0;
    color: var(--page-fishing-games-text-light);
}

.page-fishing-games__faq-answer a {
    color: var(--page-fishing-games-primary-color);
    text-decoration: underline;
}

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

/* Final CTA */
.page-fishing-games__cta-final-section {
    background-color: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-text-light);
    padding: 80px 0;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--page-fishing-games-primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-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__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__app-image {
        order: -1; /* Image above text on mobile */
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__hero-content {
        padding: 30px 20px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        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__hero-cta-buttons,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__cta-buttons--center {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games__introduction-section,
    .page-fishing-games__features-section,
    .page-fishing-games__video-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__mobile-app-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__text-block {
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min size */
        min-height: 200px !important; /* Enforce min size */
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__app-content,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile video responsiveness */
    .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-wrapper {
        padding-bottom: 56.25% !important; /* Maintain aspect ratio */
        height: 0 !important;
    }

    .page-fishing-games__security-icons {
        flex-direction: column;
        gap: 20px;
    }
    .page-fishing-games__security-icon {
        width: 150px;
        height: 150px;
    }
    .page-fishing-games__app-image {
        max-width: 100%;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 10px 20px 15px 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.6em;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
}