/* style/fishing-games.css */

:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg-color: #D32F2F;
    --background-color-page: #B71C1C;
    --text-main-color: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red-color: #7A0E0E;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for dark sections */
    background-color: var(--background-color-page); /* Default background for dark sections */
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--background-color-page);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual effect, but not text on image */
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text readability */
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--glow-color);
    letter-spacing: 1px;
}

.page-fishing-games__intro-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-main-color);
    margin-bottom: 30px;
}

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

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

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #333333; /* Dark text for bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--text-main-color);
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(242, 181, 68, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--border-color);
    color: #333333;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 181, 68, 0.5);
}

/* Common Section Styles */
.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

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

.page-fishing-games__paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit;
}

.page-fishing-games__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--border-color);
}

.text-red {
    color: var(--primary-color);
}

.text-gold {
    color: var(--gold-color);
}

/* About Section */
.page-fishing-games__about-section {
    padding: 60px 0;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 0;
}

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

.page-fishing-games__feature-card {
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
}

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

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

.page-fishing-games__feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 60px 0;
}

.page-fishing-games__ordered-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.page-fishing-games__list-item {
    margin-bottom: 30px;
    padding-left: 60px;
    position: relative;
}

.page-fishing-games__list-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--button-gradient);
    color: #333333;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(255, 216, 106, 0.5);
}

.page-fishing-games__list-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__list-item .page-fishing-games__paragraph {
    margin-bottom: 0;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 60px 0;
}

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

.page-fishing-games__tip-card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-color);
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
}

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

.page-fishing-games__tip-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
}

.page-fishing-games__unordered-list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 30px;
    color: inherit;
}

.page-fishing-games__promotions-section .page-fishing-games__list-item {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 0;
}

.page-fishing-games__promotions-section .page-fishing-games__list-item::before {
    content: none;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
}

.page-fishing-games__accordion {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-fishing-games__accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-color);
    transition: background-color 0.3s ease;
}

.page-fishing-games__accordion-title h3 {
    margin: 0;
    font-size: inherit;
    color: inherit;
}

.page-fishing-games__accordion-title:hover {
    background-color: var(--deep-red-color);
}

.page-fishing-games__accordion-toggle {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.page-fishing-games__accordion-toggle::before,
.page-fishing-games__accordion-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--gold-color);
    border-radius: 2px;
}

.page-fishing-games__accordion-toggle::before {
    width: 100%;
    height: 2px;
    top: 9px;
    left: 0;
}

.page-fishing-games__accordion-toggle::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 9px;
}

.page-fishing-games__accordion-item.is-active .page-fishing-games__accordion-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.page-fishing-games__accordion-inner {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 25px;
    color: var(--text-main-color);
}

.page-fishing-games__accordion-item.is-active .page-fishing-games__accordion-inner {
    max-height: 2000px; /* Large enough to accommodate content */
    padding: 0 25px 20px;
}

.page-fishing-games__accordion-item.is-active .page-fishing-games__accordion-title {
    background-color: var(--deep-red-color);
}

.page-fishing-games__accordion-item.is-active .page-fishing-games__accordion-title h3 span {
    color: var(--gold-color);
}

/* Call to Action Section */
.page-fishing-games__call-to-action-section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__main-content-box {
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 40px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 4px solid transparent;
    background-image: linear-gradient(#fff,#fff), linear-gradient(to right, #FC8B00, #FFB347);
    background-clip: padding-box, border-box;
    box-sizing: border-box;
    color: #333333;
}

.page-fishing-games__main-content-box .page-fishing-games__section-title,
.page-fishing-games__main-content-box .page-fishing-games__paragraph {
    color: #333333; /* Ensure dark text on light background */
}

.page-fishing-games__main-content-box .text-red {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 30px 20px;
        margin-top: -80px;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-fishing-games__hero-image-wrapper {
        max-height: 400px;
    }

    .page-fishing-games__hero-content {
        padding: 20px 15px;
        margin-top: -60px;
        width: calc(100% - 30px);
        max-width: none;
    }

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

    .page-fishing-games__intro-text {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }

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

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-fishing-games__paragraph,
    .page-fishing-games__feature-description,
    .page-fishing-games__tip-description,
    .page-fishing-games__promotions-section .page-fishing-games__list-item {
        font-size: 1rem;
        line-height: 1.6;
    }

    .page-fishing-games__image-content {
        max-width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }

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

    .page-fishing-games__feature-title,
    .page-fishing-games__tip-title {
        font-size: 1.3rem;
    }

    .page-fishing-games__list-item {
        padding-left: 50px;
        margin-bottom: 25px;
    }

    .page-fishing-games__list-item::before {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .page-fishing-games__list-title {
        font-size: 1.2rem;
    }

    .page-fishing-games__accordion-title {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-fishing-games__accordion-inner {
        padding: 0 20px;
    }

    .page-fishing-games__accordion-item.is-active .page-fishing-games__accordion-inner {
        padding: 0 20px 15px;
    }

    .page-fishing-games__main-content-box {
        margin-left: 15px;
        margin-right: 15px;
        max-width: 100% !important;
        width: calc(100% - 30px) !important;
        padding: 30px 20px;
        box-sizing: border-box !important;
    }
    
    /* Ensure all images within page-fishing-games are responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}