/* style/fishing-games.css */

:root {
    --main-color: #11A84E;
    --accent-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --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(--background-color); /* Matches body background */
}

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

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* Small top padding, more at bottom */
    overflow: hidden;
    background-color: var(--deep-green);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 40px; /* Space between image and content */
}

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

.page-fishing-games__hero-content {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fishing-games__cta-buttons--center {
    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%; /* Ensure button fits container */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.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);
}

.page-fishing-games__btn-secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    color: var(--text-main);
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__subsection-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-main);
    margin-top: 30px;
    margin-bottom: 20px;
    line-height: 1.4;
}

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

.page-fishing-games__highlight {
    color: var(--glow-color);
    font-weight: bold;
}

.page-fishing-games__text-link {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__text-link:hover {
    text-decoration: underline;
}

.page-fishing-games__features-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 60px 0;
    background-color: var(--background-color);
    border-top: 1px solid var(--divider-color);
}

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

.page-fishing-games__feature-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.4;
}

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

.page-fishing-games__game-list,
.page-fishing-games__promo-list,
.page-fishing-games__benefits-list,
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-fishing-games__game-item,
.page-fishing-games__promo-item,
.page-fishing-games__benefit-item,
.page-fishing-games__strategy-list li {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__game-title,
.page-fishing-games__promo-title,
.page-fishing-games__benefit-title {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.page-fishing-games__promo-banner {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

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

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

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--main-color);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--glow-color);
    margin-left: 15px;
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    background-color: var(--card-bg);
}

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

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

/* --- Responsive Styles --- */

/* Desktop */
@media (min-width: 1025px) {
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 60px;
    }
}

/* Tablet and Mobile */
@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 30px;
    }

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

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

    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-fishing-games__subsection-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-fishing-games__text-block {
        font-size: 0.95rem;
        line-height: 1.6;
    }

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

    .page-fishing-games__feature-card {
        padding: 20px;
    }

    .page-fishing-games__feature-image {
        height: 180px;
    }

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

    .page-fishing-games__card-description {
        font-size: 0.9rem;
    }

    .page-fishing-games__game-list,
    .page-fishing-games__promo-list,
    .page-fishing-games__benefits-list,
    .page-fishing-games__strategy-list {
        margin: 30px 0;
    }

    .page-fishing-games__game-item,
    .page-fishing-games__promo-item,
    .page-fishing-games__benefit-item,
    .page-fishing-games__strategy-list li {
        padding: 20px;
        margin-bottom: 15px;
    }

    .page-fishing-games__game-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__benefit-title {
        font-size: 1.2rem;
    }

    .page-fishing-games__promo-banner {
        margin-bottom: 30px;
    }

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

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

    /* Mobile image/video/container specific rules */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !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;
    }
    
    .page-fishing-games video,
    .page-fishing-games__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .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;
    }
    
    .page-fishing-games__video-section {
      padding-top: 10px !important;
    }
    
    .page-fishing-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    .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;
      flex-wrap: wrap !important;
      gap: 10px;
      flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }
}

/* Ensure content section padding */
.page-fishing-games__intro-section .page-fishing-games__container,
.page-fishing-games__features-section .page-fishing-games__container,
.page-fishing-games__popular-games-section .page-fishing-games__container,
.page-fishing-games__how-to-play-section .page-fishing-games__container,
.page-fishing-games__promotions-section .page-fishing-games__container,
.page-fishing-games__why-choose-section .page-fishing-games__container,
.page-fishing-games__faq-section .page-fishing-games__container,
.page-fishing-games__conclusion-section .page-fishing-games__container {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .page-fishing-games__intro-section .page-fishing-games__container,
    .page-fishing-games__features-section .page-fishing-games__container,
    .page-fishing-games__popular-games-section .page-fishing-games__container,
    .page-fishing-games__how-to-play-section .page-fishing-games__container,
    .page-fishing-games__promotions-section .page-fishing-games__container,
    .page-fishing-games__why-choose-section .page-fishing-games__container,
    .page-fishing-games__faq-section .page-fishing-games__container,
    .page-fishing-games__conclusion-section .page-fishing-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Ensure content area images are not small */
.page-fishing-games img:not(.page-fishing-games__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* Specific rule to prevent h1 font-size issues */
.page-fishing-games__hero-section h1 {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 90%; /* Prevent extremely long lines */
    margin-left: auto;
    margin-right: auto;
}

/* No filter on images */
.page-fishing-games img {
    filter: none;
}