/* style/fishing-games.css */

:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --bg-dark: #0D0E12;
    --card-bg: #17191F;
    --text-light: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

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

.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(--text-light);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.page-fishing-games__section-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: rgba(255, 243, 230, 0.8);
}

.page-fishing-games__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-color);
}

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

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(255, 165, 58, 0.4);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 6px 15px rgba(255, 165, 58, 0.6), 0 0 10px var(--glow-color);
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 6px 15px rgba(255, 165, 58, 0.6);
    transform: translateY(-2px);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0;
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 40px;
}

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

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

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    letter-spacing: -0.5px;
    text-shadow: 0 0 15px rgba(255, 165, 58, 0.5);
}

.page-fishing-games__intro-text {
    font-size: 1.2rem;
    color: rgba(255, 243, 230, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

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

/* About Section */
.page-fishing-games__about-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

.page-fishing-games__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.page-fishing-games__text-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 243, 230, 0.85);
}

.page-fishing-games__image-block .page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

.page-fishing-games__step-card .page-fishing-games__card-image {
    width: 150px;
    height: 150px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    padding: 10px;
    background-color: var(--bg-dark);
}

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

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

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

.page-fishing-games__feature-card .page-fishing-games__card-image {
    height: 250px;
    width: 100%;
    margin-bottom: 20px;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

.page-fishing-games__tip-item {
    text-align: left;
}

.page-fishing-games__tip-item .page-fishing-games__card-title {
    font-size: 1.3rem;
    text-align: left;
}

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.page-fishing-games__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-fishing-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.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-light);
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
    border-bottom-color: var(--border-color);
    background-color: rgba(255, 140, 26, 0.1);
    color: var(--secondary-color);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 20px;
    color: var(--secondary-color);
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 243, 230, 0.7);
}

/* Details element native marker removal */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2rem;
    }
    .page-fishing-games__intro-text {
        font-size: 1.1rem;
    }
    .page-fishing-games__content-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__image-block {
        order: -1; /* Image first on smaller screens */
    }
}

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

    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }

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

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__about-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__features-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__cta-section,
    .page-fishing-games__faq-section {
        padding: 50px 0;
    }

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

    .page-fishing-games__section-description {
        margin-bottom: 40px;
    }

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

    .page-fishing-games__content-grid {
        gap: 30px;
    }

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

    .page-fishing-games__card {
        padding: 20px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3rem;
    }

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

    .page-fishing-games__faq-toggle {
        font-size: 1.5rem;
    }

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

    /* Mobile image and video responsive rules */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__content-area,
    .page-fishing-games__about-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__features-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__cta-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__container,
    .page-fishing-games__card,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }

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

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.5rem;
    }
    .page-fishing-games__card-title {
        font-size: 1.2rem;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 1rem;
        padding: 12px 20px;
    }
}