/* style/fishing-games.css */

/* Custom CSS Variables based on provided color palette */
:root {
    --primary-color: #11A84E; /* Main color */
    --secondary-color: #22C768; /* Auxiliary color */
    --card-bg: #11271B; /* Card Background */
    --bg: #08160F; /* Background */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --glow: #57E38D; /* Glow */
    --gold: #F2C14E; /* Gold */
    --divider: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
}

/* General styles for the page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--bg); /* #08160F */
    line-height: 1.6;
}

.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--gold); /* #F2C14E */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* #11A84E to #22C768 */
    border-radius: 2px;
}

.page-fishing-games__section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-secondary); /* #A7D9B8 */
    font-size: 1.1rem;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--bg); /* Ensure background for video */
    overflow: hidden; /* Prevent content overflow */
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    /* Maintain aspect ratio for video */
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.page-fishing-games__hero-video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Make link clickable over video */
    text-decoration: none; /* Remove underline for link */
    cursor: pointer;
}

.page-fishing-games__hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Place video behind the link */
    pointer-events: none; /* Ensure clicks pass through to the link */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap with video slightly for visual effect */
    background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.page-fishing-games__main-title {
    font-size: 3.5rem;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-promo {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background: none;
    color: var(--primary-color); /* #11A84E */
    border: 2px solid var(--primary-color); /* #11A84E */
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color); /* #11A84E */
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.4);
    transform: translateY(-2px);
}

/* Content Area */
.page-fishing-games__features-section,
.page-fishing-games__games-showcase,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-strategies-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Features Section */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__feature-card {
    background-color: var(--card-bg); /* #11271B */
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color); /* #2E7A4E */
}

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

.page-fishing-games__feature-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid var(--glow); /* #57E38D */
    padding: 10px;
}

.page-fishing-games__feature-title {
    font-size: 1.5rem;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 10px;
}

.page-fishing-games__feature-description {
    color: var(--text-secondary); /* #A7D9B8 */
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color); /* #2E7A4E */
    display: flex;
    flex-direction: column;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-fishing-games__game-title {
    font-size: 1.6rem;
    color: var(--gold); /* #F2C14E */
    padding: 20px 20px 10px 20px;
}

.page-fishing-games__game-description {
    color: var(--text-secondary); /* #A7D9B8 */
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-fishing-games__btn-play {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 12px 20px;
    background: var(--button-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.page-fishing-games__btn-play:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* How to Play Section */
.page-fishing-games__how-to-play-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-fishing-games__guide-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 50%;
}

.page-fishing-games__guide-item {
    background-color: var(--card-bg); /* #11271B */
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color); /* #11A84E */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__guide-step-title {
    font-size: 1.3rem;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 5px;
}

.page-fishing-games__guide-step-description {
    color: var(--text-secondary); /* #A7D9B8 */
}

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

/* Tips & Strategies Section */
.page-fishing-games__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__tip-card {
    background-color: var(--card-bg); /* #11271B */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color); /* #2E7A4E */
}

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

.page-fishing-games__tip-title {
    font-size: 1.5rem;
    color: var(--text-main); /* #F2FFF6 */
    margin-bottom: 10px;
}

.page-fishing-games__tip-description {
    color: var(--text-secondary); /* #A7D9B8 */
}

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

.page-fishing-games__promo-card {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color); /* #2E7A4E */
    display: flex;
    flex-direction: column;
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-fishing-games__promo-title {
    font-size: 1.6rem;
    color: var(--gold); /* #F2C14E */
    padding: 20px 20px 10px 20px;
}

.page-fishing-games__promo-text {
    color: var(--text-secondary); /* #A7D9B8 */
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-fishing-games__btn-promo {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 12px 20px;
    background: var(--deep-green); /* #0A4B2C */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.page-fishing-games__btn-promo:hover {
    background: var(--primary-color); /* #11A84E */
}

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg); /* #11271B */
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color); /* #2E7A4E */
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    color: var(--text-main); /* #F2FFF6 */
    cursor: pointer;
    background-color: var(--deep-green); /* #0A4B2C */
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--primary-color); /* #11A84E */
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    font-weight: bold;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold); /* #F2C14E */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: var(--primary-color); /* #11A84E */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
}

.page-fishing-games__faq-answer {
    padding: 20px;
    background-color: var(--card-bg); /* #11271B */
    color: var(--text-secondary); /* #A7D9B8 */
    border-top: 1px solid var(--divider); /* #1E3A2A */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

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

/* Bottom CTA Section */
.page-fishing-games__cta-bottom-section {
    text-align: center;
    background-color: var(--deep-green); /* #0A4B2C */
    padding: 60px 20px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title {
    color: var(--gold); /* #F2C14E */
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-description {
    color: #ffffff;
    margin-bottom: 30px;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 2.8rem;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1rem;
    }
    .page-fishing-games__section-title {
        font-size: 2rem;
    }
    .page-fishing-games__how-to-play-content {
        flex-direction: column;
    }
    .page-fishing-games__guide-image,
    .page-fishing-games__guide-list {
        width: 100%;
    }
    .page-fishing-games__hero-content {
        margin-top: -100px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__main-title {
        font-size: 2rem;
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
    }
    .page-fishing-games__hero-content {
        padding: 40px 15px;
        margin-top: -80px;
    }
    .page-fishing-games__hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play,
    .page-fishing-games__btn-promo {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-cta-group,
    .page-fishing-games__cta-bottom-section .page-fishing-games__cta-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-fishing-games__section-title {
        font-size: 1.8rem;
    }
    .page-fishing-games__section-description {
        font-size: 1rem;
    }
    .page-fishing-games__features-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__tips-strategies-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Images and Videos Responsive */
    .page-fishing-games img,
    .page-fishing-games video {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__video-wrapper,
    .page-fishing-games__guide-image,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__feature-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__video-wrapper {
        padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
        height: 0 !important;
    }
    .page-fishing-games__hero-video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .page-fishing-games__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-fishing-games__feature-title {
        font-size: 1.3rem;
    }
    .page-fishing-games__game-title,
    .page-fishing-games__promo-title {
        font-size: 1.4rem;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
    }
    .page-fishing-games__faq-qtext {
        padding-right: 10px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 1.2rem;
    }
    .page-fishing-games__video-section {
      padding-top: 10px !important; /* body already handles --header-offset */
    }
}