/* style/fishing-games.css */

/* Variables and Base Styles */
:root {
    --primary-color: #26A9E0; /* Main brand color */
    --secondary-color: #FFFFFF; /* White */
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
    --button-login-color: #EA7C07; /* Specific for login buttons */
    --body-bg: var(--dark-bg-1); /* Inherited from shared.css */
}

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--light-text-color); /* Default text color for dark body bg */
    background-color: var(--body-bg); /* Ensure consistency with body background */
}

/* General container for content sections */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Section titles and descriptions */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Dark and light background sections for contrast */
.page-fishing-games__dark-bg {
    background-color: var(--body-bg); /* Use body background for dark sections */
    color: var(--light-text-color);
}

.page-fishing-games__light-bg {
    background-color: var(--secondary-color); /* White background */
    color: var(--dark-text-color);
}
.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--primary-color);
}
.page-fishing-games__light-bg .page-fishing-games__section-description {
    color: var(--dark-text-color);
}
.page-fishing-games__light-bg .page-fishing-games__card-text,
.page-fishing-games__light-bg .page-fishing-games__feature-text,
.page-fishing-games__light-bg .page-fishing-games__step-text,
.page-fishing-games__light-bg .page-fishing-games__strategy-text,
.page-fishing-games__light-bg .page-fishing-games__item-text,
.page-fishing-games__light-bg p {
    color: var(--dark-text-color);
}


/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
    height: 100vh; /* Full viewport height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken background image for text contrast */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for text */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--light-text-color);
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--light-text-color);
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary,
.page-fishing-games__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
    transform: translateY(-3px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-3px);
}

.page-fishing-games__btn-tertiary {
    background-color: var(--button-login-color); /* Orange for 'Đăng ký ngay' */
    color: var(--light-text-color);
    border: 2px solid var(--button-login-color);
    margin-top: 15px;
}
.page-fishing-games__btn-tertiary:hover {
    background-color: #c96706;
    border-color: #c96706;
    transform: translateY(-3px);
}

.page-fishing-games__btn-link {
    color: var(--primary-color);
    text-decoration: underline;
    padding: 0;
    border: none;
    background: none;
}
.page-fishing-games__btn-link:hover {
    color: #1e87b7;
}

/* General Section Styling */
.page-fishing-games__introduction,
.page-fishing-games__games-showcase,
.page-fishing-games__guide,
.page-fishing-games__advanced-strategy,
.page-fishing-games__promotions,
.page-fishing-games__security-support,
.page-fishing-games__faq,
.page-fishing-games__call-to-action {
    padding: 80px 0;
}

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

.page-fishing-games__feature-item {
    background-color: var(--secondary-color); /* White background for light section */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.page-fishing-games__introduction .page-fishing-games__feature-item {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
}


.page-fishing-games__feature-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-text {
    font-size: 1em;
    color: var(--dark-text-color);
}

/* Game Showcase */
.page-fishing-games__game-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(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    color: var(--dark-text-color);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    font-size: 1.5em;
    margin: 20px 15px 10px 15px;
    color: var(--primary-color);
}
.page-fishing-games__game-card .page-fishing-games__card-title a {
    color: var(--primary-color);
    text-decoration: none;
}
.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__game-card .page-fishing-games__card-text {
    font-size: 0.95em;
    padding: 0 15px 20px 15px;
    color: var(--dark-text-color);
}

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

.page-fishing-games__step-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--dark-text-color);
}

.page-fishing-games__step-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-text {
    font-size: 1em;
    color: var(--dark-text-color);
}

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

.page-fishing-games__strategy-item {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: var(--dark-text-color);
}

.page-fishing-games__strategy-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__strategy-text {
    font-size: 1em;
    color: var(--dark-text-color);
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    color: var(--light-text-color);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    font-size: 1.5em;
    margin: 20px 15px 10px 15px;
    color: var(--secondary-color); /* White title on dark card */
}

.page-fishing-games__promo-card .page-fishing-games__card-text {
    font-size: 0.95em;
    padding: 0 15px 20px 15px;
    color: var(--light-text-color);
}

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

.page-fishing-games__security-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--light-text-color);
}

.page-fishing-games__security-icon {
    width: 100%; /* Make it responsive */
    height: auto; /* Make it responsive */
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__item-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-fishing-games__item-text {
    font-size: 1em;
    color: var(--light-text-color);
}


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

.page-fishing-games__faq-item {
    background-color: var(--secondary-color);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--dark-text-color);
    cursor: pointer;
    background-color: var(--secondary-color);
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #f5f5f5;
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-question {
    border-bottom: none;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X (or use -) */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 15px;
    color: var(--dark-text-color);
}

/* Call to Action */
.page-fishing-games__call-to-action {
    text-align: center;
    padding: 80px 0;
    background-color: var(--primary-color); /* Use primary color for strong CTA */
    color: var(--light-text-color);
}
.page-fishing-games__call-to-action .page-fishing-games__section-title {
    color: var(--light-text-color);
}
.page-fishing-games__call-to-action .page-fishing-games__section-description {
    color: var(--light-text-color);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        height: auto;
        min-height: 600px;
        padding-top: var(--header-offset, 120px) !important; /* Important for mobile */
    }
    .page-fishing-games__hero-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary,
    .page-fishing-games__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 0.95em;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    /* Images responsiveness */
    .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__game-image {
        height: 200px; /* Adjust card image height for mobile */
    }
    .page-fishing-games__promo-image {
        height: 150px; /* Adjust promo image height for mobile */
    }
    .page-fishing-games__security-icon {
        min-width: 200px !important; /* Enforce minimum size for mobile */
        min-height: 200px !important;
        width: 100% !important; /* Make it responsive */
        height: auto !important;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__introduction,
    .page-fishing-games__games-showcase,
    .page-fishing-games__guide,
    .page-fishing-games__advanced-strategy,
    .page-fishing-games__promotions,
    .page-fishing-games__security-support,
    .page-fishing-games__faq,
    .page-fishing-games__call-to-action {
        padding: 50px 0;
    }
    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__step-item,
    .page-fishing-games__strategy-item,
    .page-fishing-games__promo-card,
    .page-fishing-games__security-item {
        padding: 20px;
    }
}