:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --page-bg: #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, assuming a dark body background from shared.css */
.page-fishing-games {
    color: var(--text-main);
    background-color: var(--page-bg);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-fishing-games__section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__section-text {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-secondary);
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    overflow: hidden;
    padding: 60px 20px;
    background-color: var(--deep-green);
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.page-fishing-games__hero-title {
    font-size: clamp(32px, 5vw, 60px);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--page-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__intro-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
}

.page-fishing-games__features-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    background-color: var(--deep-green);
}

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__promo-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px 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-secondary);
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: var(--text-main);
    padding: 20px 20px 10px;
    font-weight: bold;
}

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

.page-fishing-games__step-list,
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__step-item,
.page-fishing-games__tip-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid var(--primary-color);
}

.page-fishing-games__step-title,
.page-fishing-games__tip-title {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__step-description,
.page-fishing-games__tip-description {
    font-size: 17px;
    color: var(--text-secondary);
}

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

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-fishing-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    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;
    color: var(--text-main);
}

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

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

.page-fishing-games__faq-answer {
    padding: 10px 20px 20px;
    font-size: 17px;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
}

.page-fishing-games__cta-final-section {
    text-align: center;
    padding: 100px 20px;
    background-color: var(--deep-green);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--gold-color);
}

.page-fishing-games__cta-final-section .page-fishing-games__section-text {
    margin-bottom: 50px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: clamp(30px, 4.5vw, 50px);
    }
    .page-fishing-games__section-title {
        font-size: clamp(26px, 3.2vw, 40px);
    }
    .page-fishing-games__hero-description {
        font-size: 18px;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-fishing-games__step-item,
    .page-fishing-games__tip-item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__features-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__cta-final-section {
        padding: 40px 0;
    }

    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 30px;
    }
    .page-fishing-games__section-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(28px, 7vw, 45px);
    }
    .page-fishing-games__hero-description {
        font-size: 16px;
    }
    .page-fishing-games__hero-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: 16px;
    }

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

    .page-fishing-games__feature-image,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 200px;
    }

    .page-fishing-games__card-title {
        font-size: 20px;
        padding: 15px 15px 8px;
    }
    .page-fishing-games__card-description {
        font-size: 15px;
        padding: 0 15px 15px;
    }

    .page-fishing-games__step-item,
    .page-fishing-games__tip-item {
        padding: 20px;
    }
    .page-fishing-games__step-title,
    .page-fishing-games__tip-title {
        font-size: 20px;
    }
    .page-fishing-games__step-description,
    .page-fishing-games__tip-description {
        font-size: 16px;
    }

    .page-fishing-games__faq-item summary {
        padding: 15px;
        font-size: 16px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 8px 15px 15px;
        font-size: 15px;
    }

    /* Mobile image and container responsive styles */
    .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-content,
    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__cta-final-section .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Ensure no horizontal overflow */
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
    .page-fishing-games__cta-final-section .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: clamp(26px, 8vw, 38px);
    }
    .page-fishing-games__section-title {
        font-size: clamp(22px, 7vw, 32px);
    }
    .page-fishing-games__hero-description {
        font-size: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 10px 15px;
        font-size: 15px;
    }
}