/* style/fishing-games.css */

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

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

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

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    display: block;
    filter: brightness(0.6);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gold);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: 2px solid transparent;
    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: transparent;
    color: var(--color-glow); /* Glow text for secondary button */
    border: 2px solid var(--color-glow);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(87, 227, 141, 0.1);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__section {
    padding: 80px 20px;
    text-align: center;
}

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

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

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

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

.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__strategy-image,
.page-fishing-games__promotion-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
    filter: none; /* No CSS filter allowed */
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__step-title,
.page-fishing-games__strategy-title,
.page-fishing-games__promotion-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.page-fishing-games__feature-text,
.page-fishing-games__game-text,
.page-fishing-games__step-text,
.page-fishing-games__strategy-text,
.page-fishing-games__promotion-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__step-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-fishing-games__step-number {
    background-color: var(--color-gold);
    color: var(--color-deep-green);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

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

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

.page-fishing-games__dark-bg .page-fishing-games__section-description {
    color: var(--color-text-secondary);
}

.page-fishing-games__text-link {
    color: var(--color-glow);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
    color: var(--color-gold);
}

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

.page-fishing-games__faq-section {
    background-color: var(--color-background);
}

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

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

.page-fishing-games__faq-item details {
    width: 100%;
}

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

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

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

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--color-text-main);
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--color-gold);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 4vw, 2.4rem);
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 40px 15px;
    }
    .page-fishing-games__hero-content {
        padding: 15px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__section {
        padding: 60px 15px;
    }
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__promotion-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__card {
        padding: 20px;
    }
    .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__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-fishing-games__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__game-title,
    .page-fishing-games__step-title,
    .page-fishing-games__strategy-title,
    .page-fishing-games__promotion-title {
        font-size: 1.3rem;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
    }
}