/* style/fishing-games.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */

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

.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--color-text-main); /* Text Main on Body BG */
    background-color: var(--color-bg-body);
    line-height: 1.6;
}

.page-fishing-games__section {
    padding: 60px 0;
    position: relative;
}

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

.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, 42px);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__text-block {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    text-align: justify;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
    background-color: var(--color-deep-green); /* Fallback */
}

.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;
    object-position: center;
    filter: brightness(0.6); /* Slightly dim the background image for text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-fishing-games__hero-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--color-text-main);
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.page-fishing-games__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 10px var(--color-glow);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-bg-body);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-tertiary {
    background-color: var(--color-primary);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
}

.page-fishing-games__btn-tertiary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-1px);
}

/* Video Section */
.page-fishing-games__video-section {
    background-color: var(--color-bg-card);
    padding: 40px 0;
    text-align: center;
    padding-top: 10px; /* Small top padding */
}

.page-fishing-games__video-title {
    font-size: clamp(26px, 3.5vw, 36px);
    color: var(--color-gold);
    margin-bottom: 20px;
}

.page-fishing-games__video-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

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

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block; /* Ensure it behaves as a block element */
    cursor: pointer;
}

.page-fishing-games__video-cta {
    margin-top: 20px;
}

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

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

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-glow);
}

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--color-glow));
}

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

.page-fishing-games__feature-description {
    font-size: 15px;
    color: var(--color-text-secondary);
}

/* Games Grid */
.page-fishing-games__games-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(--color-bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-glow);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--color-divider);
}

.page-fishing-games__game-card h3,
.page-fishing-games__game-card p {
    padding: 0 20px;
}

.page-fishing-games__game-title {
    font-size: 22px;
    color: var(--color-gold);
    margin-top: 20px;
    margin-bottom: 10px;
}

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

.page-fishing-games__game-card .page-fishing-games__btn-tertiary {
    margin: 0 20px 20px 20px;
}

/* Steps List */
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: var(--color-bg-card);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

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

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

/* Promotions Grid */
.page-fishing-games__promotions-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(--color-bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-glow);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--color-divider);
}

.page-fishing-games__promo-card h3,
.page-fishing-games__promo-card p {
    padding: 0 20px;
}

.page-fishing-games__promo-title {
    font-size: 22px;
    color: var(--color-gold);
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-fishing-games__promo-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-tertiary {
    margin: 0 20px 20px 20px;
    align-self: flex-start;
}

/* Tips List */
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

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

.page-fishing-games__tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--color-glow);
}

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

.page-fishing-games__tip-description {
    font-size: 15px;
    color: var(--color-text-secondary);
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

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

.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;
    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-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
}

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

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
}

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

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

/* General image styling */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 30px 15px;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(28px, 4.5vw, 48px);
    }
    .page-fishing-games__hero-description {
        font-size: clamp(16px, 2.2vw, 20px);
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__tips-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-section {
        min-height: 450px;
        padding-top: 10px !important;
    }
    .page-fishing-games__hero-title {
        font-size: clamp(28px, 7vw, 40px);
    }
    .page-fishing-games__hero-description {
        font-size: clamp(15px, 3.5vw, 18px);
    }
    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body đã có padding-top, đây chỉ là khoảng cách nhỏ */
    }
    .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-wrapper,
    .page-fishing-games__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__step-item,
    .page-fishing-games__tip-item,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure images take full width of their container */
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-fishing-games__faq-question {
        font-size: 16px;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        font-size: 14px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-section {
        min-height: 400px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 15px;
        padding: 10px 15px;
    }
    .page-fishing-games__section-title {
        font-size: clamp(22px, 8vw, 32px);
    }
}