/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light background #F5F7FA */
    background-color: #F5F7FA;
    line-height: 1.6;
}

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

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #E53935; /* Brand main color for titles */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-fishing-games__section-title--light {
    color: #ffffff;
}

.page-fishing-games__text-block {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.page-fishing-games__text-block--light {
    color: #f0f0f0;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box; /* For responsive buttons */
    white-space: normal; /* For responsive buttons */
    word-wrap: break-word; /* For responsive buttons */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-fishing-games__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__btn-play {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 15px;
    box-shadow: 0 2px 10px rgba(229, 57, 53, 0.3);
}

.page-fishing-games__btn-play:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(229, 57, 53, 0.4);
}

.page-fishing-games__btn-details {
    background: #ffffff;
    color: #E53935;
    border: 1px solid #E0E0E0;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 15px;
}

.page-fishing-games__btn-details:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%; /* For responsive button containers */
    max-width: 100%; /* For responsive button containers */
    box-sizing: border-box; /* For responsive button containers */
    overflow: hidden; /* For responsive button containers */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    overflow: hidden;
    background-color: #f5f7fa; /* Fallback */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Adjust as needed */
    overflow: hidden;
    position: relative;
    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 {
    max-width: 900px;
    margin: 40px auto 0; /* Adjusted margin to place content below image */
    text-align: center;
    padding: 0 20px 60px;
}

.page-fishing-games__main-title {
    font-size: 48px;
    font-weight: 800;
    color: #E53935;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px; /* Constrain H1 width */
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__intro-text {
    font-size: 20px;
    color: #333333;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.page-fishing-games__image-text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__image-text-item {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__image-text-img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
}

.page-fishing-games__image-text-title {
    font-size: 22px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-fishing-games__image-text-item p {
    font-size: 16px;
    color: #555555;
    text-align: left;
    flex-grow: 1; /* Allow paragraph to take available space */
}

/* Game Showcase Section */
.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-card {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-fishing-games__game-card-img {
    width: 100%;
    height: auto;
     /* Constrain image height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block; /* Ensure it behaves as a block element */
}

.page-fishing-games__game-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-fishing-games__game-card p {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__view-more-cta {
    text-align: center;
    margin-top: 50px;
}

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

.page-fishing-games__guide-step-item {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__step-number {
    width: 60px;
    height: 60px;
    background: #E53935;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-fishing-games__step-title {
    font-size: 22px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-fishing-games__guide-step-item p {
    font-size: 16px;
    color: #555555;
    text-align: left;
    flex-grow: 1;
}

/* Tips Section */
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 40px auto 0;
}

.page-fishing-games__tips-list li {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 18px 25px;
    margin-bottom: 15px;
    font-size: 17px;
    color: #333333;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: flex-start;
}

.page-fishing-games__tips-list li::before {
    content: '✓';
    color: #E53935;
    font-weight: bold;
    margin-right: 15px;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

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

.page-fishing-games__promo-card {
    background: #ffffff;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-fishing-games__promo-card-img {
    width: 100%;
    height: auto;
    max-height: 200px; /* Constrain image height */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block; /* Ensure it behaves as a block element */
}

.page-fishing-games__promo-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #E53935;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-fishing-games__promo-card p {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 10px; /* Slightly larger radius */
    border: 1px solid #E0E0E0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px; /* Increased padding */
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
}
.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 18px; /* Slightly larger font */
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}
.page-fishing-games__faq-toggle {
    font-size: 28px; /* Larger toggle icon */
    font-weight: bold;
    color: #E53935; /* Brand color for toggle */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 25px 25px;
    background: #f9f9f9;
    border-radius: 0 0 10px 10px;
    font-size: 16px;
    color: #555555;
}
.page-fishing-games__faq-answer p {
    margin: 0; /* Reset paragraph margin inside answer */
    text-align: left;
}


/* Final CTA Section */
.page-fishing-games__cta-final {
    padding: 80px 0;
}

.page-fishing-games__cta-final .page-fishing-games__container {
    background: linear-gradient(135deg, #E53935 0%, #FF5A4F 100%);
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__dark-section {
    background: linear-gradient(135deg, #E53935 0%, #FF5A4F 100%); /* Use brand colors for dark section */
    color: #ffffff;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
    color: #ffffff;
    margin-bottom: 25px;
}

.page-fishing-games__cta-final .page-fishing-games__text-block {
    color: #f0f0f0;
    margin-bottom: 50px;
}

.page-fishing-games__btn-primary--large,
.page-fishing-games__btn-secondary--large {
    padding: 16px 40px;
    font-size: 20px;
    border-radius: 10px;
}

/* --- Responsive Design --- */

/* Mobile adaptation for all images */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile adaptation for all buttons */
.page-fishing-games__cta-button,
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play,
.page-fishing-games__btn-details,
.page-fishing-games a[class*="button"],
.page-fishing-games a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center; /* Ensure text is centered when wrapped */
}

/* Button containers mobile adaptation */
.page-fishing-games__cta-buttons,
.page-fishing-games__button-group,
.page-fishing-games__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 40px;
    }
    .page-fishing-games__intro-text {
        font-size: 18px;
    }
    .page-fishing-games__section-title {
        font-size: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 16px;
    }
    .page-fishing-games__image-text-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-fishing-games__game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-fishing-games__guide-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-fishing-games__btn-primary--large,
    .page-fishing-games__btn-secondary--large {
        padding: 14px 30px;
        font-size: 18px;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 500px;
    }
    .page-fishing-games__hero-content {
        padding-bottom: 40px;
    }
    .page-fishing-games__cta-final .page-fishing-games__container {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    /* General mobile reset for padding and container */
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__section-spacing {
        padding: 40px 0;
    }

    /* Hero Section */
    .page-fishing-games__hero-section {
        padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 300px; /* Adjust as needed for mobile */
    }
    .page-fishing-games__hero-image {
        object-fit: cover; /* Changed to cover for better mobile display, was contain in general */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__hero-content {
        margin-top: 20px;
        padding-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-fishing-games__intro-text {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        margin-top: 25px;
        padding: 0 15px; /* Add padding to button container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Section Titles */
    .page-fishing-games__section-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .page-fishing-games__text-block {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* Image-Text Grid (About Section) */
    .page-fishing-games__image-text-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 25px;
    }
    .page-fishing-games__image-text-item {
        padding: 20px;
    }
    .page-fishing-games__image-text-img {
        
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__image-text-title {
        font-size: 20px;
    }
    .page-fishing-games__image-text-item p {
        font-size: 15px;
    }

    /* Game Showcase Grid */
    .page-fishing-games__game-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 25px;
    }
    .page-fishing-games__game-card {
        padding: 15px;
    }
    .page-fishing-games__game-card-img {
        
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__game-card-title {
        font-size: 18px;
    }
    .page-fishing-games__game-card p {
        font-size: 14px;
    }
    .page-fishing-games__view-more-cta {
        margin-top: 30px;
    }

    /* Guide Section */
    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-top: 25px;
    }
    .page-fishing-games__guide-step-item {
        padding: 20px;
    }
    .page-fishing-games__step-number {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    .page-fishing-games__step-title {
        font-size: 20px;
    }
    .page-fishing-games__guide-step-item p {
        font-size: 15px;
    }

    /* Tips Section */
    .page-fishing-games__tips-list {
        margin-top: 25px;
    }
    .page-fishing-games__tips-list li {
        padding: 15px 20px;
        font-size: 15px;
    }
    .page-fishing-games__tips-list li::before {
        font-size: 18px;
        margin-right: 10px;
    }
}