/* style/fishing-games.css */

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

.page-fishing-games {
    background-color: var(--page-fishing-games-bg-color);
    color: var(--page-fishing-games-text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
}

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

.page-fishing-games__hero-content {
    position: relative; /* Ensure content is above image if z-index is used, but not overlapping */
    max-width: 900px;
    padding: 40px 20px;
    margin-top: -100px; /* Pull content up slightly, but not over image */
    background-color: var(--page-fishing-games-card-bg); /* Dark background for readability */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__description {
    font-size: 1.1rem;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 30px;
}

.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 {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--page-fishing-games-gold-color);
    border: 2px solid var(--page-fishing-games-gold-color);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-gold-color);
    color: var(--page-fishing-games-bg-color);
    transform: translateY(-3px);
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--page-fishing-games-gold-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__text-block {
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

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

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

.page-fishing-games__introduction-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__advantages-section,
.page-fishing-games__promotions-section,
.page-fishing-games__cta-final-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-bg-color);
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__dark-section {
    background-color: var(--page-fishing-games-card-bg);
    padding: 60px 0;
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list,
.page-fishing-games__promo-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li,
.page-fishing-games__promo-list li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.page-fishing-games__ordered-list li strong,
.page-fishing-games__unordered-list li strong,
.page-fishing-games__promo-list li strong {
    color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__card {
    background-color: var(--page-fishing-games-bg-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-fishing-games-border-color);
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for card images */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__card-title {
    font-size: 1.5rem;
    color: var(--page-fishing-games-gold-color);
    padding: 15px 20px 10px;
    text-align: center;
}

.page-fishing-games__card-description {
    font-size: 0.95rem;
    color: var(--page-fishing-games-text-secondary);
    padding: 0 20px 20px;
    text-align: center;
}

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

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-bg-color);
    border: 1px solid var(--page-fishing-games-divider-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--page-fishing-games-text-main);
    cursor: pointer;
    background-color: var(--page-fishing-games-card-bg);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

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

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

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
    border-top: 1px solid var(--page-fishing-games-divider-color);
}

.page-fishing-games__faq-answer p {
    margin: 0;
}

/* Ensure contrast for all links */
.page-fishing-games a {
    color: var(--page-fishing-games-glow-color);
}

.page-fishing-games a:hover {
    color: var(--page-fishing-games-gold-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 0 15px;
    }

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

    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 25px 15px;
        border-radius: 10px;
    }

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

    .page-fishing-games__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        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: 1rem;
    }

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

    .page-fishing-games__text-block,
    .page-fishing-games__ordered-list li,
    .page-fishing-games__unordered-list li,
    .page-fishing-games__promo-list li,
    .page-fishing-games__card-description {
        font-size: 0.95rem;
    }

    .page-fishing-games__introduction-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__cta-final-section,
    .page-fishing-games__dark-section {
        padding: 40px 0;
    }

    .page-fishing-games__game-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

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

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

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

    /* Image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__image-wrapper,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Add horizontal padding to containers to prevent content touching edges */
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Remove padding for full-width sections if needed, or manage it carefully */
    .page-fishing-games__hero-section .page-fishing-games__container,
    .page-fishing-games__introduction-section .page-fishing-games__container,
    .page-fishing-games__how-to-play-section .page-fishing-games__container,
    .page-fishing-games__game-types-section .page-fishing-games__container,
    .page-fishing-games__advantages-section .page-fishing-games__container,
    .page-fishing-games__tips-section .page-fishing-games__container,
    .page-fishing-games__promotions-section .page-fishing-games__container,
    .page-fishing-games__faq-section .page-fishing-games__container,
    .page-fishing-games__cta-final-section .page-fishing-games__container {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Specific sections that might need inner padding for mobile */
    .page-fishing-games__hero-content,
    .page-fishing-games__game-cards,
    .page-fishing-games__faq-list {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsiveness - No video in this page, but keeping the structure for completeness */
    .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;
    }
}