/* style/fishing-games.css */

/* Custom Colors */
:root {
    --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-background: #08160F;
    --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 {
    background-color: var(--page-fishing-games-background);
    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;
}

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

.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;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
    padding: 0 20px;
}

.page-fishing-games__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--page-fishing-games-gold);
    font-weight: bold;
    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.15rem;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 30px;
}

.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: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background: var(--page-fishing-games-gold);
    color: var(--page-fishing-games-card-bg);
}

/* Section Titles and Descriptions */
.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

/* About Section */
.page-fishing-games__about-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background);
}

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

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

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px; /* Ensure images are not too small */
    min-width: 200px;
    min-height: 200px;
    margin-bottom: 20px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__feature-text {
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
    padding: 80px 0;
    background-color: var(--page-fishing-games-deep-green);
}

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

.page-fishing-games__game-card {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-fishing-games-border);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

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

.page-fishing-games__game-title {
    font-size: 1.5rem;
    color: var(--page-fishing-games-text-main);
    margin: 20px 0 10px;
    font-weight: bold;
}

.page-fishing-games__game-description {
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
    padding: 0 20px 20px;
}

.page-fishing-games__game-button {
    display: inline-block;
    background: var(--page-fishing-games-button-gradient);
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__game-button:hover {
    opacity: 0.9;
}

/* How to Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background);
}

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

.page-fishing-games__step-item {
    background-color: var(--page-fishing-games-card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__step-title {
    font-size: 1.4rem;
    color: var(--page-fishing-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__step-text {
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
}

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-deep-green);
}

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

.page-fishing-games__promo-card {
    background-color: var(--page-fishing-games-card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-fishing-games-border);
    text-align: center;
}

.page-fishing-games__promo-title {
    font-size: 1.5rem;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__promo-text {
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 25px;
}

.page-fishing-games__promo-button {
    display: inline-block;
    background: var(--page-fishing-games-button-gradient);
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__promo-button:hover {
    opacity: 0.9;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background);
}

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

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-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;
    font-size: 1.2rem;
    color: var(--page-fishing-games-text-main);
    font-weight: bold;
    cursor: pointer;
    background-color: var(--page-fishing-games-card-bg);
    transition: background-color 0.3s ease;
}

.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;
    transition: transform 0.3s ease;
    color: var(--page-fishing-games-gold);
}

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

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

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

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 40px 0;
        padding-top: 10px !important;
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-fishing-games__hero-description {
        font-size: 1rem;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__about-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section {
        padding: 50px 0;
    }

    .page-fishing-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__feature-icon,
    .page-fishing-games__game-image {
        min-width: 200px !important;
        min-height: 200px !important;
        height: auto !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__promo-cards-grid,
    .page-fishing-games__faq-list,
    .page-fishing-games__features-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-fishing-games__game-card,
    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__step-item,
    .page-fishing-games__faq-item {
        margin-bottom: 20px;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.9rem;
        padding: 0 20px 15px;
    }
    .page-fishing-games__game-image {
        height: 200px; /* Adjust for smaller screens */
    }
}