/* style/fishing-games.css */

/* --- Base Styles --- */
.page-fishing-games {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
    line-height: 1.6;
}

.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.5em; /* clamp for H1, this is H2 */
    color: #FFD36B; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    color: #FFD36B; /* Glow */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__description,
.page-fishing-games__text-block p,
.page-fishing-games__list li {
    font-size: 1.1em;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 15px;
}

.page-fishing-games__list {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-fishing-games__list li {
    margin-bottom: 10px;
}

.page-fishing-games__card {
    background: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    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 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it doesn't have extra space below */
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__card-title {
    font-size: 1.4em;
    color: #FFD36B; /* Glow */
    margin-bottom: 10px;
    font-weight: bold;
}

/* --- Buttons --- */
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff; /* White text for dark button */
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Glow */
    border: 2px solid #FFD36B; /* Glow */
}

.page-fishing-games__btn-secondary:hover {
    background: #FFD36B; /* Glow */
    color: #111111; /* Card BG */
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
    color: #FFD36B; /* Glow */
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__dark-section {
    background-color: #111111; /* Card BG for dark sections */
}

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

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

.page-fishing-games__grid-layout--reversed {
    align-items: center;
}

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

.page-fishing-games__how-to-play-section .page-fishing-games__grid-layout {
    grid-template-columns: 1fr 1fr; /* Two columns for desktop */
    text-align: left;
}

.page-fishing-games__how-to-play-section .page-fishing-games__image-block {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__how-to-play-section .page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Ensure image is not too small */
    min-height: 200px;
}

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

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

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

.page-fishing-games__faq-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD36B; /* Glow */
    background: rgba(255, 255, 255, 0.05); /* Slightly lighter for question */
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFD36B;
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    color: #FFF6D6; /* Text Main */
}

/* Hide default details marker */
.page-fishing-games__faq-item summary {
    list-style: none;
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}


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

.page-fishing-games__call-to-action .page-fishing-games__card {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 30px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__how-to-play-section .page-fishing-games__grid-layout {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
    .page-fishing-games__how-to-play-section .page-fishing-games__grid-layout--reversed {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 6vw, 2.8em);
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.5em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 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;
    }

    /* All images and their containers must be responsive */
    .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,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-fishing-games__grid-layout {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__how-to-play-section .page-fishing-games__grid-layout {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-fishing-games__hero-description {
        font-size: 0.95em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
}

/* Ensure content area images are not too small */
.page-fishing-games__how-to-play-section .page-fishing-games__image,
.page-fishing-games__card-image {
  min-width: 200px;
  min-height: 200px;
}