.page-fishing-games {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg-color: #111111;
    --page-bg-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;

    font-family: 'Arial', sans-serif;
    color: var(--text-main-color);
    line-height: 1.6;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

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

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

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

.page-fishing-games__cta-buttons--center {
    justify-content: center;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Assuming body handles var(--header-offset) */
    padding-bottom: 60px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: 3.2em;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.page-fishing-games__intro-text {
    font-size: 1.2em;
    color: var(--text-main-color);
    margin-bottom: 30px;
}

/* Advantages Section */
.page-fishing-games__advantages-section {
    background-color: var(--page-bg-color);
}

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

.page-fishing-games__advantage-item {
    text-align: center;
}

.page-fishing-games__advantage-heading {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__advantage-item p {
    color: var(--text-main-color);
    font-size: 1em;
}

/* Popular Games Section */
.page-fishing-games__popular-games {
    background-color: var(--page-bg-color);
}

.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-fishing-games__game-tile {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure all cards have similar height */
}

.page-fishing-games__game-tile img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 15px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__btn-play {
    background: var(--button-gradient);
    color: var(--text-main-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    display: block;
    margin-top: auto; /* Push button to bottom */
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 8px var(--glow-color);
}

/* Guide Section */
.page-fishing-games__guide-section {
    background-color: var(--page-bg-color);
}

.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__guide-item {
    text-align: center;
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__guide-heading {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__guide-item p {
    color: var(--text-main-color);
    font-size: 0.95em;
}

/* Tips Section */
.page-fishing-games__tips-section {
    background-color: var(--page-bg-color);
}

.page-fishing-games__tips-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-fishing-games__tips-image {
    flex: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-fishing-games__tips-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__tips-list li {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tips-list li:last-child {
    margin-bottom: 0;
}

.page-fishing-games__tips-heading {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__tips-list p {
    color: var(--text-main-color);
    font-size: 0.9em;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: var(--page-bg-color);
}

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

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

.page-fishing-games__promo-item {
    text-align: center;
}

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

.page-fishing-games__promo-heading {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__promo-item p {
    color: var(--text-main-color);
    font-size: 0.95em;
}

/* Support Section */
.page-fishing-games__support-section {
    background-color: var(--page-bg-color);
}

.page-fishing-games__support-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__support-image {
    flex: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-fishing-games__support-info {
    flex: 1;
    text-align: left;
}

.page-fishing-games__support-info p {
    color: var(--text-main-color);
    font-size: 1.1em;
    margin-bottom: 25px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #1a1a1a;
    color: var(--secondary-color);
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Prevent click on text from interfering with summary toggle */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    pointer-events: none; /* Prevent click on toggle from interfering with summary toggle */
}

.page-fishing-games__faq-answer {
    padding: 15px 25px;
    background-color: #0A0A0A;
    color: var(--text-main-color);
    font-size: 0.95em;
    border-top: 1px solid var(--border-color);
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    background-color: var(--page-bg-color);
    padding-bottom: 80px;
}

/* Global image settings for content area */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default for most images */
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__main-title {
        font-size: 2.5em;
    }
    .page-fishing-games__intro-text {
        font-size: 1.1em;
    }
    .page-fishing-games__advantage-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-fishing-games__tips-content {
        flex-direction: column;
        align-items: center;
    }
    .page-fishing-games__tips-image {
        max-width: 80%;
    }
    .page-fishing-games__support-content {
        flex-direction: column;
        align-items: center;
    }
    .page-fishing-games__support-image {
        max-width: 80%;
    }
    .page-fishing-games__support-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-fishing-games__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    /* Hero Section - Mobile */
    .page-fishing-games__hero-section {
        flex-direction: column;
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
        border-radius: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__hero-image {
        object-fit: contain !important; /* Ensure image is not cropped */
        aspect-ratio: unset !important;
        max-height: none !important;
        min-width: 200px !important;
        min-height: 200px !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__hero-content {
        padding: 0 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__intro-text {
        font-size: 0.95em;
    }
    /* Buttons - Mobile */
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        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__btn-play {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }
    /* Game Grid - Mobile */
    .page-fishing-games__game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
    .page-fishing-games__game-tile img {
        min-
        min-
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
    }
    /* General Images & Containers - Mobile */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Enforce minimum size for content images */
        min-height: 200px !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__guide-item,
    .page-fishing-games__promo-item,
    .page-fishing-games__support-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Other Content Modules (e.g., FAQ, Tips) - Mobile */
    .page-fishing-games__tips-content {
        gap: 20px;
    }
    .page-fishing-games__tips-image {
        max-width: 100%;
    }
    .page-fishing-games__tips-list li {
        padding: 15px;
    }
    .page-fishing-games__support-info {
        padding: 0;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-fishing-games__conclusion-section {
        padding-bottom: 60px;
    }
    .page-fishing-games__support-info p {
        font-size: 1em;
    }
    .page-fishing-games__advantage-item p {
        font-size: 0.9em;
    }
    .page-fishing-games__guide-item p {
        font-size: 0.85em;
    }
    .page-fishing-games__promo-item p {
        font-size: 0.85em;
    }
}