/* style/fishing-games.css */

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

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

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

.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

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

.page-fishing-games__description,
.page-fishing-games__description-text {
    font-size: 1.1rem;
    color: var(--page-fishing-games-text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-fishing-games__text-block {
    font-size: 1.05rem;
    color: var(--page-fishing-games-text-main);
    line-height: 1.7;
}

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

.page-fishing-games__text-block a {
    color: var(--page-fishing-games-secondary-color);
    text-decoration: underline;
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small decorative top padding */
    background-color: var(--page-fishing-games-deep-green);
    overflow: hidden;
}

.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 0 20px rgba(87, 227, 141, 0.4);
}

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

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    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(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main);
    border: none;
    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);
    opacity: 0.9;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-bg);
    transform: translateY(-3px);
    opacity: 0.9;
}

.page-fishing-games__introduction-section,
.page-fishing-games__featured-games-section,
.page-fishing-games__benefits-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__introduction-section .page-fishing-games__text-block,
.page-fishing-games__guide-section .page-fishing-games__text-block,
.page-fishing-games__cta-section .page-fishing-games__description {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 0 15px rgba(46, 122, 78, 0.5);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-fishing-games__card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 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%;
    color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

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

.page-fishing-games__card-button {
    width: auto;
    margin: 0 auto;
}

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

.page-fishing-games__benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
}

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

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

.page-fishing-games__benefit-text {
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
    list-style-position: inside;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
    margin-bottom: 10px;
    color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-fishing-games__promo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--page-fishing-games-secondary-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: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__cta-section {
    text-align: center;
    padding-bottom: 80px;
}

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

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

    .page-fishing-games__description,
    .page-fishing-games__description-text {
        font-size: 1rem;
    }

    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

    .page-fishing-games__introduction-section,
    .page-fishing-games__featured-games-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .page-fishing-games__container,
    .page-fishing-games__game-grid,
    .page-fishing-games__benefits-grid,
    .page-fishing-games__promo-cards,
    .page-fishing-games__faq-list,
    .page-fishing-games__introduction-section .page-fishing-games__text-block,
    .page-fishing-games__guide-section .page-fishing-games__text-block,
    .page-fishing-games__cta-section .page-fishing-games__description {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body already has padding-top */
    }

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

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        width: 100% !important;
        max-width: 300px !important; /* Limit max width for readability */
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
    }

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

    .page-fishing-games__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-fishing-games__faq-item summary {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

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

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.6rem;
    }

    .page-fishing-games__sub-title {
        font-size: 1.5rem;
    }

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

    .page-fishing-games__introduction-section,
    .page-fishing-games__featured-games-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 40px 0;
    }
}