/* style/fishing-games.css */

/* Custom Colors */
:root {
    --fishing-games-primary-color: #11A84E;
    --fishing-games-secondary-color: #22C768;
    --fishing-games-button-gradient-start: #2AD16F;
    --fishing-games-button-gradient-end: #13994A;
    --fishing-games-card-bg: #11271B;
    --fishing-games-background: #08160F;
    --fishing-games-text-main: #F2FFF6;
    --fishing-games-text-secondary: #A7D9B8;
    --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;
    --fishing-games-light-bg-text: #333333; /* For light backgrounds */
    --fishing-games-light-bg-card: #ffffff; /* For light backgrounds */
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--fishing-games-text-main);
    background-color: var(--fishing-games-background); /* Body background handled by shared.css */
}

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

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

.page-fishing-games__light-bg {
    background-color: var(--fishing-games-text-main); /* Using Text Main as a light background */
    color: var(--fishing-games-light-bg-text);
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    min-height: 600px;
}

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: var(--fishing-games-text-main);
}

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

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--fishing-games-text-secondary);
}

.page-fishing-games__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--fishing-games-gold-color);
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--fishing-games-deep-green);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    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: linear-gradient(180deg, var(--fishing-games-button-gradient-start) 0%, var(--fishing-games-button-gradient-end) 100%);
    color: var(--fishing-games-text-main);
    border: 2px solid var(--fishing-games-button-gradient-start);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--fishing-games-glow-color), 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--fishing-games-button-gradient-start);
    color: var(--fishing-games-text-main);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--fishing-games-glow-color), 0.4);
}

.page-fishing-games__btn-tertiary {
    background: var(--fishing-games-deep-green);
    color: var(--fishing-games-text-main);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
}

.page-fishing-games__btn-tertiary:hover {
    background: var(--fishing-games-primary-color);
    transform: translateY(-2px);
}

.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
}

.page-fishing-games__how-to-play-section,
.page-fishing-games__strategy-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__call-to-action {
    padding: 80px 0;
}

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

.page-fishing-games__card {
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.page-fishing-games__dark-card {
    background-color: var(--fishing-games-card-bg);
    color: var(--fishing-games-text-main);
    border: 1px solid var(--fishing-games-border-color);
}

.page-fishing-games__light-card {
    background-color: var(--fishing-games-light-bg-card);
    color: var(--fishing-games-light-bg-text);
    border: 1px solid #e0e0e0;
}

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

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

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

.page-fishing-games__light-card .page-fishing-games__card-title {
    color: var(--fishing-games-deep-green);
}

.page-fishing-games__card p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

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

.page-fishing-games__game-card {
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-fishing-games__game-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--fishing-games-deep-green);
}

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

.page-fishing-games__strategy-list li {
    background-color: var(--fishing-games-card-bg);
    border: 1px solid var(--fishing-games-border-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    color: var(--fishing-games-text-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

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

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

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

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

.page-fishing-games__faq-item {
    background-color: var(--fishing-games-light-bg-card);
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--fishing-games-deep-green);
    background-color: var(--fishing-games-light-bg-card);
    list-style: none; /* For details summary */
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fishing-games-deep-green);
    margin-left: 15px;
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--fishing-games-light-bg-text);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid #eee;
}

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

.page-fishing-games__call-to-action {
    text-align: center;
    padding: 60px 20px;
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
    margin-bottom: 20px;
}

.page-fishing-games__call-to-action p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--fishing-games-text-secondary);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 500px;
        padding: 40px 15px;
        padding-top: 10px !important;
    }

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

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

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

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

    .page-fishing-games__introduction-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__call-to-action {
        padding: 40px 0;
    }

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

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

    .page-fishing-games__grid-layout,
    .page-fishing-games__game-list,
    .page-fishing-games__feature-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card-image,
    .page-fishing-games__game-image,
    .page-fishing-games__feature-icon,
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size */
        min-height: 200px !important; /* Ensure min size */
    }

    .page-fishing-games__card,
    .page-fishing-games__game-card,
    .page-fishing-games__feature-item,
    .page-fishing-games__section,
    .page-fishing-games__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__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

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

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }
    .page-fishing-games__section-title {
        font-size: 1.5rem;
    }
    .page-fishing-games__hero-section {
        min-height: 400px;
    }
}