/* style/fishing-games.css */

/* Custom Colors */
:root {
    --fishing-games-bg-color: #08160F;
    --fishing-games-card-bg: #11271B;
    --fishing-games-text-main: #F2FFF6;
    --fishing-games-text-secondary: #A7D9B8;
    --fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --fishing-games-border-color: #2E7A4E;
    --fishing-games-glow-color: #57E38D;
    --fishing-games-gold-color: #F2C14E;
    --fishing-games-divider-color: #1E3A2A;
    --fishing-games-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-fishing-games {
    background-color: var(--fishing-games-bg-color);
    color: var(--fishing-games-text-main);
    font-family: Arial, sans-serif;
}

.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: var(--fishing-games-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-fishing-games__text-block a {
    color: var(--fishing-games-glow-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__text-block a:hover {
    color: var(--fishing-games-gold-color);
    text-decoration: underline;
}

.page-fishing-games__highlight-text {
    color: var(--fishing-games-gold-color);
    font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0 0;
    overflow: hidden;
    background-color: var(--fishing-games-deep-green);
    min-height: 500px; /* Ensure minimum height */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-fishing-games__hero-content {
    position: relative;
    text-align: center;
    padding: 40px 20px 60px;
    z-index: 10;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over the image */
    background-color: rgba(8, 22, 15, 0.85); /* Semi-transparent background */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--fishing-games-border-color);
}

.page-fishing-games__main-title {
    color: var(--fishing-games-gold-color);
    font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__hero-description {
    color: var(--fishing-games-text-secondary);
    font-size: 1.2em;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--fishing-games-btn-gradient);
    color: var(--fishing-games-text-main);
    border: 2px solid var(--fishing-games-glow-color);
    box-shadow: 0 5px 20px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 209, 111, 0.6);
    opacity: 0.9;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(242, 193, 78, 0.1);
    color: var(--fishing-games-gold-color);
    transform: translateY(-3px);
}

/* General Image Styling */
.page-fishing-games__image-container {
    margin: 30px auto;
    text-align: center;
    max-width: 100%;
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center the image */
}

/* Intro Section */
.page-fishing-games__intro-section {
    background-color: var(--fishing-games-bg-color);
    padding-top: 60px;
}

/* Features Section */
.page-fishing-games__features-section {
    background-color: var(--fishing-games-card-bg);
    padding: 80px 0;
}

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

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

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 1.4em;
    color: var(--fishing-games-gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    color: var(--fishing-games-text-secondary);
    font-size: 1em;
    line-height: 1.6;
}

/* Guide Section */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__guide-item {
    background-color: var(--fishing-games-card-bg);
    border: 1px solid var(--fishing-games-border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__guide-step-title {
    color: var(--fishing-games-gold-color);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-fishing-games__guide-item p {
    color: var(--fishing-games-text-secondary);
    line-height: 1.7;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: var(--fishing-games-card-bg);
    padding: 80px 0;
}

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

.page-fishing-games__promo-card {
    background-color: var(--fishing-games-bg-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--fishing-games-border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    color: var(--fishing-games-gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__promo-description {
    color: var(--fishing-games-text-secondary);
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__small-btn {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-fishing-games__promo-image {
    margin-top: 60px;
}

/* Security Section */
.page-fishing-games__security-section {
    background-color: var(--fishing-games-bg-color);
    padding-bottom: 60px;
}

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

.page-fishing-games__security-item {
    background-color: var(--fishing-games-card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--fishing-games-border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__security-title {
    font-size: 1.4em;
    color: var(--fishing-games-gold-color);
    margin-bottom: 15px;
}

.page-fishing-games__security-item p {
    color: var(--fishing-games-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__security-item a {
    color: var(--fishing-games-glow-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__security-item a:hover {
    color: var(--fishing-games-gold-color);
    text-decoration: underline;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: var(--fishing-games-card-bg);
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: var(--fishing-games-bg-color);
    border: 1px solid var(--fishing-games-border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.2);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-item details > summary {
    list-style: none;
}

.page-fishing-games__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    color: var(--fishing-games-text-secondary);
    line-height: 1.7;
    font-size: 1em;
}

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

.page-fishing-games__faq-answer a {
    color: var(--fishing-games-glow-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -50px;
        padding: 30px 20px 50px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2em, 4vw, 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__section {
        padding: 40px 0;
    }

    .page-fishing-games__hero-section {
        padding: 40px 0 0;
        min-height: 400px;
    }

    .page-fishing-games__hero-content {
        margin-top: -30px;
        padding: 25px 15px 40px;
        border-radius: 10px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1em;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-fishing-games__text-block {
        font-size: 1em;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__security-item {
        padding: 20px;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__security-title {
        font-size: 1.2em;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }

    /* Mobile image and video responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !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__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__hero-section {
      padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }

    .page-fishing-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-content {
        margin-top: -20px;
        padding: 20px 10px 30px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }

    .page-fishing-games__hero-description {
        font-size: 0.95em;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.95em;
        padding: 10px 15px;
    }

    .page-fishing-games__section-title {
        font-size: 1.5em;
    }

    .page-fishing-games__text-block {
        font-size: 0.9em;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__security-title {
        font-size: 1.1em;
    }

    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-fishing-games__faq-answer {
        font-size: 0.95em;
    }
}