/* style/fishing-games.css */

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

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for dark backgrounds */
    background-color: var(--background-color);
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure some space above footer */
}

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

.page-fishing-games__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: clamp(16px, 2vw, 18px);
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 10px var(--glow-color);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--background-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.page-fishing-games__btn-text {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-fishing-games__btn-text:hover {
    color: var(--gold-color);
}

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

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0;
    background-color: var(--background-color);
    overflow: hidden;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    min-height: 400px; /* Ensure image is not too small */
    object-fit: cover;
    border-radius: 0;
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-fishing-games__hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.page-fishing-games__hero-description {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.page-fishing-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__content-wrapper--reverse {
    flex-direction: row-reverse;
}

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

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    font-size: 17px;
}

.page-fishing-games__image-block {
    flex: 1;
    min-width: 300px; /* Ensure image block has a minimum width */
}

.page-fishing-games__image-block--full-width {
    flex: none;
    width: 100%;
    margin-top: 40px;
    text-align: center;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
    padding: 80px 0;
    background-color: #0F2018; /* Slightly lighter dark background for contrast */
    color: var(--text-main);
}

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

.page-fishing-games__advantage-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--glow-color);
    margin-bottom: 15px;
}

.page-fishing-games__advantage-item p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Games Section */
.page-fishing-games__games-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.page-fishing-games__game-card {
    text-align: center;
    padding: 20px;
    background-color: var(--card-bg);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-fishing-games__game-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__game-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* How-To Section */
.page-fishing-games__how-to-section {
    padding: 80px 0;
    background-color: #0F2018;
    color: var(--text-main);
}

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

.page-fishing-games__step-item {
    text-align: center;
    padding: 30px;
    position: relative;
    background-color: var(--card-bg);
}

.page-fishing-games__step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--glow-color);
    color: var(--background-color);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--background-color);
}

.page-fishing-games__step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-fishing-games__step-item p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

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

.page-fishing-games__promo-item {
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
}

.page-fishing-games__promo-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--glow-color);
    margin-bottom: 15px;
}

.page-fishing-games__promo-item p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 80px 0;
    background-color: #0F2018;
    color: var(--text-main);
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__tips-list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 17px;
    color: var(--text-main);
}

.page-fishing-games__tips-list li strong {
    color: var(--gold-color);
}

/* Safety Section */
.page-fishing-games__safety-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

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

.page-fishing-games__commitment-item {
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
}

.page-fishing-games__commitment-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--glow-color);
    margin-bottom: 15px;
}

.page-fishing-games__commitment-item p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: #0F2018;
    color: var(--text-main);
}

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

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

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    list-style: none;
    outline: none;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    color: var(--text-secondary);
}

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

.page-fishing-games__cta-section .page-fishing-games__section-title {
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-fishing-games__cta-section .page-fishing-games__section-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Contrast Fixes */
.page-fishing-games__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main);
}

.page-fishing-games__light-bg {
    background-color: #0F2018; /* A slightly lighter dark green for contrast against default dark bg */
    color: var(--text-main);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image-wrapper {
        max-height: 500px;
    }
    .page-fishing-games__content-wrapper {
        flex-direction: column;
    }
    .page-fishing-games__content-wrapper--reverse {
        flex-direction: column-reverse;
    }
    .page-fishing-games__text-block, .page-fishing-games__image-block {
        flex: none;
        width: 100%;
    }
    .page-fishing-games__image-block {
        margin-top: 30px;
    }
    .page-fishing-games__image-block--full-width {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__section-title {
        font-size: 30px;
    }
    .page-fishing-games__section-description {
        font-size: 16px;
    }
    .page-fishing-games__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-fishing-games__hero-title {
        font-size: 36px;
    }
    .page-fishing-games__hero-description {
        font-size: 17px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Images responsive */
    .page-fishing-games img {
        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__hero-image-wrapper,
    .page-fishing-games__image-block {
        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-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__hero-image {
        min-height: 250px;
    }
    .page-fishing-games__game-image {
        height: 180px;
    }
    .page-fishing-games__advantages-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__safety-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__step-item {
        margin-top: 25px;
    }
    .page-fishing-games__step-number {
        top: -25px;
    }
    .page-fishing-games__faq-item summary {
        font-size: 16px;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        font-size: 15px;
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 32px;
    }
    .page-fishing-games__hero-description {
        font-size: 16px;
    }
    .page-fishing-games__section-title {
        font-size: 26px;
    }
}