/* style/fishing-games.css */

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

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

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

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__main-title {
    color: var(--j88-gold);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    max-width: 100%;
}

.page-fishing-games__hero-description {
    color: var(--j88-text-secondary);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.page-fishing-games__cta-buttons--center {
    margin-top: 30px;
    margin-bottom: 30px;
}

.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.1em;
    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(--j88-button-gradient);
    color: var(--j88-text-main);
    border: 2px solid var(--j88-glow);
    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);
}

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

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

.page-fishing-games__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--j88-divider);
}

.page-fishing-games__dark-section {
    background-color: var(--j88-deep-green);
    color: var(--j88-text-main);
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--j88-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--j88-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-grid,
.page-fishing-games__promo-grid,
.page-fishing-games__strategy-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__promo-card,
.page-fishing-games__strategy-card {
    background-color: var(--j88-card-bg);
    border: 1px solid var(--j88-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-icon,
.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    max-height: 200px; /* Ensure images in cards are not too tall */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__feature-title,
.page-fishing-games__promo-title,
.page-fishing-games__strategy-title {
    font-size: 1.4em;
    color: var(--j88-text-main);
    margin-bottom: 15px;
}

.page-fishing-games__feature-description,
.page-fishing-games__promo-description,
.page-fishing-games__strategy-description {
    font-size: 1em;
    color: var(--j88-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    counter-reset: guide-counter;
}

.page-fishing-games__guide-item {
    background-color: var(--j88-card-bg);
    border: 1px solid var(--j88-border);
    border-radius: 8px;
    padding: 20px 25px 20px 60px;
    margin-bottom: 15px;
    position: relative;
    font-size: 1.1em;
    color: var(--j88-text-main);
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__guide-item::before {
    counter-increment: guide-counter;
    content: counter(guide-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--j88-primary-color);
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--j88-text-main);
    cursor: pointer;
    background-color: var(--j88-deep-green);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Prevent text from capturing click */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    pointer-events: none; /* Prevent toggle from capturing click */
}

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

.page-fishing-games__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--j88-text-secondary);
    line-height: 1.6;
    border-top: 1px solid var(--j88-divider);
}

/* Details element specific styling */
.page-fishing-games__faq-item summary {
    list-style: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-content {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__section {
        padding: 40px 15px;
    }
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__paragraph,
    .page-fishing-games__feature-description,
    .page-fishing-games__promo-description,
    .page-fishing-games__strategy-description {
        font-size: 0.95em;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__content-image,
    .page-fishing-games__feature-icon,
    .page-fishing-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__hero-section {
        padding: 30px 10px;
        padding-top: 10px;
    }
    .page-fishing-games__hero-content {
        margin-top: 20px;
        padding: 0 10px;
    }
    .page-fishing-games__feature-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__strategy-grid {
        gap: 20px;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__strategy-card {
        padding: 20px;
    }
    .page-fishing-games__guide-item {
        padding: 15px 20px 15px 50px;
        font-size: 1em;
    }
    .page-fishing-games__guide-item::before {
        width: 25px;
        height: 25px;
        font-size: 0.8em;
        left: 15px;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px;
    }
}