/* style/fishing-games.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --bg-color: #08160F;
    --card-bg-color: #11271B;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--text-main-color); /* Default text color for the page */
    background-color: var(--bg-color); /* Ensure consistency with body bg */
}

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

/* HERO Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top spacing, body handles --header-offset */
    background-color: var(--bg-color);
    text-align: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__main-title {
    color: var(--gold-color);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

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

.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: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow word breaking */
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

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

/* Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__registration-section,
.page-fishing-games__video-section,
.page-fishing-games__strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom-section {
    padding: 80px 0;
    position: relative;
}

.page-fishing-games__dark-section {
    background-color: var(--bg-color);
    color: var(--text-main-color);
}

.page-fishing-games__light-bg {
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__text-main {
    color: var(--text-main-color);
}

.page-fishing-games__text-secondary {
    color: var(--text-secondary-color);
}

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

.page-fishing-games__text-block {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
}

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

/* Game Cards */
.page-fishing-games__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

.page-fishing-games__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__card-text {
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.6;
    margin-bottom: 25px;
}

.page-fishing-games__card-button {
    width: auto;
    min-width: 150px;
    padding: 12px 25px;
    font-size: 1rem;
}

/* Registration Steps */
.page-fishing-games__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.page-fishing-games__step-item {
    text-align: center;
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-fishing-games__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__step-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__step-text {
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

/* Video Section */
.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%; /* Ensures it doesn't overflow */
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 50px auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    background-color: #000;
    box-sizing: border-box;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

.page-fishing-games__video-cta {
    margin-top: 30px;
    width: auto;
    min-width: 200px;
}

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

.page-fishing-games__strategy-item {
    text-align: center;
}

.page-fishing-games__strategy-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__strategy-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__strategy-text {
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

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

.page-fishing-games__promo-card {
    text-align: left;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__promo-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

/* Security Section */
.page-fishing-games__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__feature-item {
    text-align: center;
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 180px;
    object-fit: contain; /* Use contain for icons/logos */
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

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

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

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 50px;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--deep-green-color);
    color: var(--text-main-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-question:hover {
    background-color: #0c5a32; /* Slightly darker green */
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary-color);
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--divider-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: #0c5a32;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
    background-color: var(--deep-green-color);
    padding: 100px 0;
    text-align: center;
    color: var(--text-main-color);
}

.page-fishing-games__cta-bottom-content {
    max-width: 900px;
}

.page-fishing-games__cta-bottom-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--gold-color);
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__cta-bottom-description {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__registration-section,
    .page-fishing-games__video-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section .page-fishing-games__container,
    .page-fishing-games__game-types-section .page-fishing-games__container,
    .page-fishing-games__registration-section .page-fishing-games__container,
    .page-fishing-games__video-section .page-fishing-games__container,
    .page-fishing-games__strategy-section .page-fishing-games__container,
    .page-fishing-games__promotions-section .page-fishing-games__container,
    .page-fishing-games__security-section .page-fishing-games__container,
    .page-fishing-games__faq-section .page-fishing-games__container,
    .page-fishing-games__cta-bottom-section .page-fishing-games__cta-bottom-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

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

    .page-fishing-games__hero-description {
        font-size: 1rem;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

    .page-fishing-games__section-description,
    .page-fishing-games__text-block,
    .page-fishing-games__card-text,
    .page-fishing-games__step-text,
    .page-fishing-games__strategy-text,
    .page-fishing-games__promo-text,
    .page-fishing-games__feature-text,
    .page-fishing-games__faq-answer p {
        font-size: 0.95rem;
    }

    /* Images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsive */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .page-fishing-games__card-image,
    .page-fishing-games__step-image,
    .page-fishing-games__strategy-image,
    .page-fishing-games__promo-image,
    .page-fishing-games__feature-image {
        height: auto;
        min-height: 150px; /* Ensure minimum display size */
        object-fit: cover;
    }

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

    .page-fishing-games__faq-toggle {
        font-size: 1.2rem;
    }

    .page-fishing-games__cta-bottom-section {
        padding: 60px 0;
    }

    .page-fishing-games__cta-bottom-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 9vw, 2.2rem);
    }

    .page-fishing-games__hero-description {
        font-size: 0.9rem;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .page-fishing-games__faq-question {
        padding: 12px 15px;
    }

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