/* style/fishing-games.css */

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

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

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetics */
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px;
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
}

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

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

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--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);
}

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

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

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

.page-fishing-games__section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-fishing-games__text-block {
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1rem;
    color: var(--text-main);
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-fishing-games__text-block h3 {
    font-size: 1.5rem;
    color: var(--glow-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-fishing-games__light-bg {
    background-color: var(--deep-green);
    color: var(--text-main);
}

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

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

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

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

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

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

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

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: auto; /* Push button to bottom */
}

/* Guide Section */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-title {
    font-size: 1.6rem;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-fishing-games__step-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    display: block;
}

/* Advantages Section */
.page-fishing-games__advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__advantage-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

.page-fishing-games__advantage-title {
    font-size: 1.3rem;
    color: var(--glow-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__advantage-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-fishing-games__faq-item {
    background-color: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: var(--text-main);
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: var(--deep-green);
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    user-select: none;
    color: var(--gold-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: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

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

.page-fishing-games__faq-item summary {
    list-style: none;
}

/* CTA Section */
.page-fishing-games__cta-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--deep-green);
    margin-top: 50px;
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 10px 20px 60px 20px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: var(--bg-dark);
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: var(--bg-card);
    border-radius: 12px;
    margin: 40px auto 0 auto;
    width: 100%; /* Ensure width is 100% for desktop */
    max-width: 800px; /* Max width for the video container */
}

.page-fishing-games__video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    display: block;
}

.page-fishing-games__video-link {
    display: block;
    cursor: pointer;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--bg-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-image {
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }

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

    .page-fishing-games__subtitle {
        font-size: 1rem;
    }

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

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

    .page-fishing-games__content-area {
        padding: 30px 15px;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 25px;
    }

    .page-fishing-games__section-description,
    .page-fishing-games__text-block p,
    .page-fishing-games__game-description,
    .page-fishing-games__step-description,
    .page-fishing-games__advantage-description,
    .page-fishing-games__faq-answer {
        font-size: 0.9rem;
    }

    .page-fishing-games__text-block h3 {
        font-size: 1.3rem;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__advantage-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .page-fishing-games__game-image,
    .page-fishing-games__step-image,
    .page-fishing-games__advantage-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all containing elements for images/videos/buttons are responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important; /* Prevent overflow for all content areas */
    }

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

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

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