.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color from custom palette */
    background-color: var(--background); /* Default background from custom palette */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
    overflow: hidden; /* Ensure no overflow */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for image container */
    margin-bottom: 30px; /* Space between image and content */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    filter: none; /* No color filters */
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%; /* Ensure content takes full width up to max-width */
    box-sizing: border-box;
    padding: 0 15px; /* Padding for mobile */
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold); /* Using gold for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
    font-size: 1.1rem;
    color: var(--text-secondary); /* Secondary text color */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
}

/* General Section Styling */
.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(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--gold); /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__text-block {
    font-size: 1rem;
    color: var(--text-main); /* Main text color */
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    max-width: 800px; /* Example max-width for content images */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    filter: none; /* No color filters */
}

/* Dark Background Sections */
.page-fishing-games__dark-section {
    background-color: var(--card-bg); /* Use Card BG for dark sections */
    padding: 60px 0;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__promo-card {
    background-color: var(--background); /* Use lighter background for cards */
    border: 1px solid var(--border); /* Border color */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__card-title {
    font-size: 1.4rem;
    color: var(--text-main); /* Main text color for card titles */
    margin-bottom: 15px;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    filter: none; /* No color filters */
}

/* Lists (Ordered/Unordered) */
.page-fishing-games__steps-list,
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-fishing-games__steps-list li,
.page-fishing-games__strategy-list li {
    background-color: var(--card-bg); /* Card BG for list items */
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.page-fishing-games__list-title {
    font-size: 1.3rem;
    color: var(--text-main); /* Main text color for list titles */
    margin-bottom: 10px;
}

.page-fishing-games__steps-list li p,
.page-fishing-games__strategy-list li p {
    color: var(--text-secondary); /* Secondary text color for list paragraphs */
}

/* Call to Action Center */
.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Important for responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--gold); /* Gold text for secondary button */
    border: 2px solid var(--gold); /* Gold border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--gold);
    color: var(--card-bg); /* Darker text on hover for secondary button */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__faq-item {
    background-color: var(--background); /* Use background for FAQ items */
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main); /* Main text color for questions */
    cursor: pointer;
    list-style: none; /* Remove default summary marker */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold); /* Gold color for toggle icon */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary); /* Secondary text color for answers */
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-list,
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body handles header offset, this is for visual top gap */
    }
    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-fishing-games__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100%; /* Ensure button container takes full width */
        padding: 0 15px; /* Add padding for buttons */
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important; /* Full width for buttons */
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 5vw, 2.2rem);
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-fishing-games__text-block {
        font-size: 0.95rem;
    }

    .page-fishing-games__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card {
        padding: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__card-title {
        font-size: 1.2rem;
    }

    .page-fishing-games__card-image {
        height: 180px;
    }

    .page-fishing-games__steps-list li,
    .page-fishing-games__strategy-list li {
        padding: 15px;
    }

    .page-fishing-games__list-title {
        font-size: 1.1rem;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }
    
    /* General image responsiveness for all images within .page-fishing-games */
    .page-fishing-games img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* All containers that might hold images/content */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      /* Add horizontal padding to prevent content from touching edges */
      padding-left: 15px;
      padding-right: 15px;
    }
    /* Override specific section paddings if they are already defined for mobile */
    .page-fishing-games__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-fishing-games__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-fishing-games__dark-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-fishing-games__dark-section .page-fishing-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}