/* style/fishing-games.css */

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

.page-fishing-games {
    background-color: var(--page-fishing-games-bg);
    color: var(--page-fishing-games-text-main); /* Ensure contrast with dark background */
    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;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: 10px; /* Small decorative top padding, body handles header offset */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, not changing color */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: var(--page-fishing-games-text-main);
    padding: 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 font size */
    font-weight: 700;
    color: var(--page-fishing-games-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-text {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-btn-gradient);
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--page-fishing-games-gold);
    color: var(--page-fishing-games-bg); /* Dark text on gold hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Sections */
.page-fishing-games__about-section,
.page-fishing-games__features-section,
.page-fishing-games__gameplay-section,
.page-fishing-games__tips-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-bottom {
    padding: 80px 0;
}

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

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__grid-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
    display: block; /* Ensure no extra space below */
}

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

.page-fishing-games__feature-card {
    background-color: var(--page-fishing-games-card-bg); /* Dark background for card */
    color: var(--page-fishing-games-text-main); /* Light text for contrast */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--page-fishing-games-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__feature-title {
    font-size: 1.5rem;
    color: var(--page-fishing-games-gold);
    margin-bottom: 15px;
}

/* Guide List */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-fishing-games__guide-list li {
    background-color: var(--page-fishing-games-card-bg);
    color: var(--page-fishing-games-text-main);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--page-fishing-games-primary-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-fishing-games__guide-list li strong {
    color: var(--page-fishing-games-gold);
    font-size: 1.2rem;
}

.page-fishing-games__btn-text {
    color: var(--page-fishing-games-primary-color);
    text-decoration: underline;
    font-weight: bold;
    align-self: flex-start;
}

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

/* Video Section */
.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0 auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    cursor: pointer;
}

.page-fishing-games__video-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Above the video */
    cursor: pointer;
}


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

.page-fishing-games__tip-card {
    background-color: var(--page-fishing-games-card-bg);
    color: var(--page-fishing-games-text-main);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-fishing-games-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-fishing-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--page-fishing-games-text-main);
    background-color: var(--page-fishing-games-deep-green);
    border-bottom: 1px solid var(--page-fishing-games-divider);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary:hover {
    background-color: var(--page-fishing-games-primary-color);
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--page-fishing-games-gold);
    color: var(--page-fishing-games-bg);
    flex-shrink: 0;
}

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

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

/* CTA Bottom */
.page-fishing-games__cta-bottom {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-fishing-games__cta-content {
    background-color: var(--page-fishing-games-card-bg);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid var(--page-fishing-games-border);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    }
    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__gameplay-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 400px;
        padding-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-text {
        padding: 12px 20px;
        width: 100% !important; /* Force full width for buttons */
        max-width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 1rem;
    }
    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__gameplay-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px; /* Add padding to containers for mobile */
    }

    /* Mobile image adaptation */
    .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__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile video adaptation */
    .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; /* Small top padding for video section */
    }

    /* FAQ for mobile */
    .page-fishing-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.95rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 1.5rem;
        width: 25px;
        height: 25px;
    }
}