/* style/fishing-games.css */
:root {
    --primary-color: #FFD700; /* Bright Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-color-dark-bg: #ffffff;
    --text-color-light-bg: #333333;
    --background-dark: #121212;
    --card-background-dark: rgba(255, 255, 255, 0.1);
    --border-color-dark: rgba(255, 255, 255, 0.2);
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Inherited from shared.css, just for clarity */
}

/* Ensure the main content starts below the fixed header */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 120px; /* Desktop: Adjust based on actual header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    color: var(--text-color-dark-bg);
    text-align: center;
    overflow: hidden;
}

.page-fishing-games__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.page-fishing-games__main-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color-light-bg); /* Text on primary button should be dark for contrast */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-fishing-games__cta-button:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--text-color-dark-bg); /* Text on secondary button should be light */
    border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button--secondary:hover {
    background: #a30000; /* Slightly darker red */
    border-color: #e6c200;
}

.page-fishing-games__hero-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: auto;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

/* General Section Styles */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__dark-bg {
    background: #1a1a1a; /* Slightly lighter than body background for contrast */
    color: var(--text-color-dark-bg);
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Video Section Styles */
.page-fishing-games__video-showcase {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Adjust based on actual header height */
    background: #0d0d0d;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-fishing-games__video-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    object-fit: cover;
    pointer-events: none;
}

.page-fishing-games__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.page-fishing-games__video-link:hover .page-fishing-games__video-overlay {
    opacity: 1;
}

.page-fishing-games__video-click-hint {
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    background: rgba(0, 123, 255, 0.8);
    border-radius: 5px;
    white-space: nowrap;
}

.page-fishing-games__video-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.page-fishing-games__play-now-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color-light-bg);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
}

.page-fishing-games__play-now-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Advantage List */
.page-fishing-games__advantage-list, .page-fishing-games__promo-list, .page-fishing-games__safety-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__advantage-list li, .page-fishing-games__promo-list li, .page-fishing-games__safety-list li {
    background: var(--card-background-dark);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__advantage-list li:hover, .page-fishing-games__promo-list li:hover, .page-fishing-games__safety-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__advantage-list li strong, .page-fishing-games__promo-list li strong, .page-fishing-games__safety-list li strong {
    color: var(--primary-color);
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
}

/* How To Play Steps */
.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-fishing-games__step-list li {
    background: var(--card-background-dark);
    margin-bottom: 25px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid var(--border-color-dark);
}

.page-fishing-games__step-list li h3 {
    margin: 0;
    font-size: 1.6em;
    color: var(--primary-color);
    position: relative;
    padding-left: 50px;
}

.page-fishing-games__step-list li h3::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary-color);
    color: var(--text-color-dark-bg);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-list li p {
    flex: 1;
    margin-top: 5px;
}

.page-fishing-games__step-list li a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-fishing-games__step-list li a:hover {
    color: #e6c200;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border-color-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 15px !important;
    opacity: 1;
    background: var(--card-background-dark);
    border-radius: 0 0 5px 5px;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #2a2a2a; /* Slightly different background for question */
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__faq-question:hover {
    background: #3a3a3a;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* Final CTA Section */
.page-fishing-games__cta-final {
    padding: 80px 20px;
    background: linear-gradient(135deg, #333333 0%, var(--secondary-color) 100%);
    color: var(--text-color-dark-bg);
    text-align: center;
}

.page-fishing-games__cta-final .page-fishing-games__hero-description {
    margin-bottom: 40px;
}

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 100px; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__video-showcase {
        padding-top: 10px !important; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    .page-fishing-games__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 4px;
        overflow: hidden !important;
    }
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
        object-fit: contain;
    }
    .page-fishing-games__video-cta {
        margin-top: 20px;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .page-fishing-games__play-now-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 30px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__video-click-hint {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }

    .page-fishing-games__container {
        padding: 30px 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__advantage-list, .page-fishing-games__promo-list, .page-fishing-games__safety-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__advantage-list li, .page-fishing-games__promo-list li, .page-fishing-games__safety-list li {
        padding: 20px;
    }
    .page-fishing-games__step-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px;
    }
    .page-fishing-games__step-list li h3 {
        padding-left: 0;
        margin-bottom: 15px;
    }
    .page-fishing-games__step-list li h3::before {
        position: static;
        transform: none;
        margin-bottom: 10px;
    }

    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-fishing-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images are responsive and do not overflow */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__hero-image {
        position: relative;
        transform: none;
        left: auto;
        width: 100%;
        max-width: 100%;
        opacity: 0.1;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__play-now-button {
        font-size: 15px !important;
        padding: 10px 20px !important;
    }
    .page-fishing-games__video-click-hint {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
}