/* style/fishing-games-latest-games.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #1A237E;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f4f4f4; /* Body background from shared.css */
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-fishing-games-latest-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark); /* Default text color for light body background */
    line-height: 1.6;
    background-color: var(--background-light);
}

.page-fishing-games-latest-games__section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-fishing-games-latest-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-fishing-games-latest-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games-latest-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-fishing-games-latest-games__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-fishing-games-latest-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 100%); /* Darker background for hero */
    color: var(--text-light);
    overflow: hidden;
}

.page-fishing-games-latest-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-fishing-games-latest-games__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-latest-games__hero-image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly dim image to make text pop */
}

.page-fishing-games-latest-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    margin-top: -150px; /* Overlap with image for better visual flow */
    padding: 20px;
    background: rgba(26, 35, 126, 0.7); /* Semi-transparent dark blue background */
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.page-fishing-games-latest-games__hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-latest-games__hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-latest-games__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
    border: none;
}

.page-fishing-games-latest-games__cta-button:hover {
    background: #FFC107;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Game Grid */
.page-fishing-games-latest-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games-latest-games__game-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games-latest-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games-latest-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games-latest-games__game-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-fishing-games-latest-games__game-description {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.page-fishing-games-latest-games__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.page-fishing-games-latest-games__btn-primary:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* Gameplay Guide */
.page-fishing-games-latest-games__guide-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-fishing-games-latest-games__guide-item {
    background: var(--card-bg);
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 17px;
    line-height: 1.8;
    border-left: 5px solid var(--primary-color);
}

.page-fishing-games-latest-games__guide-item strong {
    color: var(--secondary-color);
}

.page-fishing-games-latest-games__image-with-text {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 50px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-fishing-games-latest-games__content-image {
    flex: 0 0 500px; /* Fixed width for image */
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-fishing-games-latest-games__text-content {
    flex: 1;
}

.page-fishing-games-latest-games__sub-title {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games-latest-games__tips-list {
    list-style: disc;
    padding-left: 25px;
    font-size: 16px;
}

.page-fishing-games-latest-games__tips-item {
    margin-bottom: 10px;
}

/* Promotions Section */
.page-fishing-games-latest-games__promotions-section {
    background-color: #fcfcfc;
}

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

.page-fishing-games-latest-games__promo-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games-latest-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-fishing-games-latest-games__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games-latest-games__promo-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-fishing-games-latest-games__promo-description {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.page-fishing-games-latest-games__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--card-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.page-fishing-games-latest-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

/* FAQ Section */
.page-fishing-games-latest-games__faq-section {
    background-color: var(--background-light);
}

.page-fishing-games-latest-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games-latest-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-fishing-games-latest-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

.page-fishing-games-latest-games__faq-question:active {
    background: #eeeeee;
}

.page-fishing-games-latest-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--secondary-color);
}

.page-fishing-games-latest-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-fishing-games-latest-games__faq-item.active .page-fishing-games-latest-games__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-fishing-games-latest-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #fcfcfc;
    color: var(--text-dark);
}

.page-fishing-games-latest-games__faq-item.active .page-fishing-games-latest-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    border-top: 1px solid var(--border-color);
}

.page-fishing-games-latest-games__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* Bottom CTA Section */
.page-fishing-games-latest-games__cta-bottom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFC107 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--secondary-color);
}

.page-fishing-games-latest-games__cta-content {
    max-width: 900px;
}

.page-fishing-games-latest-games__cta-title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-latest-games__cta-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--secondary-color);
    opacity: 0.9;
}

.page-fishing-games-latest-games__cta-button--large {
    padding: 20px 60px;
    font-size: 22px;
    background: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-latest-games__cta-button--large:hover {
    background: #151d68;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games-latest-games__hero-title {
        font-size: 42px;
    }
    .page-fishing-games-latest-games__hero-description {
        font-size: 18px;
    }
    .page-fishing-games-latest-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games-latest-games__image-with-text {
        flex-direction: column;
        align-items: center;
    }
    .page-fishing-games-latest-games__content-image {
        max-width: 80%;
        flex: none;
    }
}

@media (max-width: 768px) {
    .page-fishing-games-latest-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games-latest-games__hero-image-wrapper {
        margin-bottom: 20px;
        border-radius: 8px;
    }
    .page-fishing-games-latest-games__hero-content {
        margin-top: -80px; /* Adjust overlap for mobile */
        padding: 15px;
        border-radius: 8px;
    }
    .page-fishing-games-latest-games__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-fishing-games-latest-games__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-fishing-games-latest-games__cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }

    .page-fishing-games-latest-games__section {
        padding: 40px 0;
    }
    .page-fishing-games-latest-games__container {
        padding: 0 15px;
    }
    .page-fishing-games-latest-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-fishing-games-latest-games__text-block {
        font-size: 16px;
    }

    .page-fishing-games-latest-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games-latest-games__game-card, .page-fishing-games-latest-games__promo-card {
        padding: 20px;
    }
    .page-fishing-games-latest-games__game-title {
        font-size: 20px;
    }
    .page-fishing-games-latest-games__game-description, .page-fishing-games-latest-games__promo-description {
        font-size: 15px;
    }
    .page-fishing-games-latest-games__btn-primary, .page-fishing-games-latest-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games-latest-games__guide-item {
        font-size: 16px;
        padding: 15px 20px;
    }
    .page-fishing-games-latest-games__image-with-text {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    .page-fishing-games-latest-games__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games-latest-games__sub-title {
        font-size: 24px;
    }
    .page-fishing-games-latest-games__tips-list {
        font-size: 15px;
    }

    .page-fishing-games-latest-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games-latest-games__faq-question {
        padding: 15px;
    }
    .page-fishing-games-latest-games__faq-question h3 {
        font-size: 16px;
    }
    .page-fishing-games-latest-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-fishing-games-latest-games__faq-item.active .page-fishing-games-latest-games__faq-answer {
        padding: 15px !important;
    }
    .page-fishing-games-latest-games__faq-answer p {
        font-size: 15px;
    }

    .page-fishing-games-latest-games__cta-bottom {
        padding: 50px 0;
    }
    .page-fishing-games-latest-games__cta-title {
        font-size: 30px;
        margin-bottom: 20px;
    }
    .page-fishing-games-latest-games__cta-description {
        font-size: 17px;
        margin-bottom: 30px;
    }
    .page-fishing-games-latest-games__cta-button--large {
        padding: 18px 40px;
        font-size: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Ensure all images are responsive */
    .page-fishing-games-latest-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games-latest-games__section,
    .page-fishing-games-latest-games__game-card,
    .page-fishing-games-latest-games__promo-card,
    .page-fishing-games-latest-games__container,
    .page-fishing-games-latest-games__image-with-text {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games-latest-games__hero-title {
        font-size: 28px;
    }
    .page-fishing-games-latest-games__hero-description {
        font-size: 15px;
    }
    .page-fishing-games-latest-games__section-title {
        font-size: 24px;
    }
    .page-fishing-games-latest-games__cta-title {
        font-size: 26px;
    }
    .page-fishing-games-latest-games__cta-description {
        font-size: 16px;
    }
    .page-fishing-games-latest-games__cta-button--large {
        font-size: 18px;
        padding: 15px 30px;
    }
}