/* style/fishing-games.css */

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

.page-fishing-games {
    background-color: var(--bg-dark-green);
    color: var(--text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-fishing-games__section {
    padding: 60px 0;
    position: relative;
}

.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;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    margin-bottom: 40px;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

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

.page-fishing-games__intro-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* General Titles and Paragraphs */
.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.page-fishing-games__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-fishing-games__paragraph {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-card,
.page-fishing-games__btn-promo,
.page-fishing-games__btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsive */
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(17, 168, 78, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.5);
}

.page-fishing-games__btn-card, .page-fishing-games__btn-promo, .page-fishing-games__btn-inline {
    background: var(--primary-color);
    color: var(--text-main);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
}

.page-fishing-games__btn-card:hover, .page-fishing-games__btn-promo:hover, .page-fishing-games__btn-inline:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

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

/* Image Content */
.page-fishing-games__image-content {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

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

.page-fishing-games__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

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

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

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

.page-fishing-games__card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Numbered List (How to Play) */
.page-fishing-games__numbered-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-fishing-games__numbered-list .page-fishing-games__list-item {
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.page-fishing-games__numbered-list .page-fishing-games__list-item::before {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    left: -15px;
    top: 20px;
    background: var(--primary-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__list-title {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 10px;
    margin-left: 30px;
}

.page-fishing-games__list-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 30px;
}

/* Bullet List (Strategy Tips) */
.page-fishing-games__bullet-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-fishing-games__bullet-list .page-fishing-games__list-item {
    background-color: var(--card-bg);
    border-left: 5px solid var(--gold-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__bullet-list .page-fishing-games__list-item .page-fishing-games__list-title {
    color: var(--gold-color);
    margin-left: 0;
}

.page-fishing-games__bullet-list .page-fishing-games__list-item .page-fishing-games__list-description {
    margin-left: 0;
}

/* Promotions */
.page-fishing-games__promo-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(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

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

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

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

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Why Choose Us Icons */
.page-fishing-games__icon-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__icon-list .page-fishing-games__list-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-fishing-games__icon-list .page-fishing-games__list-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 80px; /* Enforce min size for icons as per global rule */
    min-height: 80px;
}

.page-fishing-games__icon-list .page-fishing-games__list-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__icon-list .page-fishing-games__list-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.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);
    overflow: hidden;
}

.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-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

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

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

    .page-fishing-games__section-title {
        font-size: 2rem;
    }

    .page-fishing-games__hero-image-wrapper {
        padding-bottom: 65%; /* Adjust for smaller screens */
    }

    .page-fishing-games__game-cards,
    .page-fishing-games__promo-grid,
    .page-fishing-games__icon-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__section {
        padding: 40px 0;
    }

    .page-fishing-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-fishing-games__hero-image-wrapper {
        padding-bottom: 75%; /* More vertical space on mobile */
        margin-bottom: 30px;
    }

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

    .page-fishing-games__intro-text {
        font-size: 1rem;
        margin-bottom: 30px;
    }

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

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

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

    .page-fishing-games__paragraph {
        font-size: 0.95rem;
    }

    .page-fishing-games__card,
    .page-fishing-games__promo-card,
    .page-fishing-games__icon-list .page-fishing-games__list-item,
    .page-fishing-games__numbered-list .page-fishing-games__list-item,
    .page-fishing-games__bullet-list .page-fishing-games__list-item,
    .page-fishing-games__faq-item {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-fishing-games__image-content {
        margin: 20px 0;
    }

    .page-fishing-games__card-image,
    .page-fishing-games__promo-image {
        height: 180px;
    }

    .page-fishing-games__icon {
        width: 60px;
        height: 60px;
        min-width: 60px !important;
        min-height: 60px !important;
    }

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

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

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

    .page-fishing-games__section-title {
        font-size: 1.6rem;
    }

    .page-fishing-games__hero-image-wrapper {
        padding-bottom: 85%;
    }

    .page-fishing-games__numbered-list .page-fishing-games__list-item::before {
        left: 5px;
        top: 15px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .page-fishing-games__list-title {
        margin-left: 20px;
        font-size: 1.2rem;
    }

    .page-fishing-games__list-description {
        margin-left: 20px;
    }
}