/* style/fishing-games.css */

/* Custom properties for colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --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;
}

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

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

.page-fishing-games__section-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-fishing-games__section-text {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text-secondary);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-deep-green);
    min-height: 700px; /* Ensure sufficient height */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 100vh; /* Limit height to viewport for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content up slightly over the image if needed, but not overlap text on image */
    background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, rgba(8, 22, 15, 1) 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.page-fishing-games__hero-title {
    font-size: clamp(32px, 5vw, 58px);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

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

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

/* Buttons */
.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: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

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

/* General Section Styles */
.page-fishing-games__introduction-section,
.page-fishing-games__advantages-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__strategy-section,
.page-fishing-games__get-started-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--color-divider);
}

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

/* Grid Layouts */
.page-fishing-games__grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__grid-2-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

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

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

.page-fishing-games__card-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__card-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Game Cards */
.page-fishing-games__game-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 20px;
}

.page-fishing-games__game-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__game-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-title {
    font-size: 26px;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__game-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-fishing-games__strategy-item {
    text-align: left;
    padding: 25px;
}

.page-fishing-games__strategy-title {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__strategy-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Get Started Section */
.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-fishing-games__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: var(--color-card-bg);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-content {
    text-align: left;
}

.page-fishing-games__step-title {
    font-size: 22px;
    color: var(--color-gold);
    margin-bottom: 5px;
}

.page-fishing-games__step-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

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

.page-fishing-games__promotion-card {
    text-align: left;
    padding: 20px;
}

.page-fishing-games__promotion-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
}

.page-fishing-games__promotion-title {
    font-size: 24px;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__promotion-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

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

.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;
    color: var(--color-text-main);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

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

.page-fishing-games__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-primary);
}

.page-fishing-games__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

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

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -50px;
        padding: 30px 15px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(30px, 4.5vw, 50px);
    }
    .page-fishing-games__hero-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 500px;
    }
    .page-fishing-games__hero-content {
        margin-top: -30px;
        padding: 20px 15px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(28px, 6vw, 40px);
    }
    .page-fishing-games__hero-description {
        font-size: 16px;
    }
    .page-fishing-games__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__hero-cta,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-fishing-games__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 20px;
    }
    .page-fishing-games__section-text {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-fishing-games__introduction-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__get-started-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 50px 0;
    }

    /* Images and containers responsive */
    .page-fishing-games img {
        max-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__game-card,
    .page-fishing-games__promotion-card {
        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;
    }
    .page-fishing-games__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-fishing-games__step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-fishing-games__step-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-section {
        min-height: 400px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(24px, 7vw, 32px);
    }
    .page-fishing-games__hero-description {
        font-size: 15px;
    }
    .page-fishing-games__card-title,
    .page-fishing-games__game-title,
    .page-fishing-games__strategy-title,
    .page-fishing-games__promotion-title,
    .page-fishing-games__step-title {
        font-size: 20px;
    }
    .page-fishing-games__card-text,
    .page-fishing-games__game-description,
    .page-fishing-games__strategy-description,
    .page-fishing-games__promotion-description,
    .page-fishing-games__step-description,
    .page-fishing-games__faq-question,
    .page-fishing-games__faq-answer {
        font-size: 14px;
    }
}