:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --background-dark: #0D0E12; /* Background */
    --card-background: #17191F; /* Card BG */
    --text-main: #FFF3E6; /* Text Main */
    --border-color: #A84F0C; /* Border */
    --glow-color: #FFB04D; /* Glow */
    --deep-orange: #D96800; /* Deep Orange */
    --button-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
}

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

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 10px rgba(255, 140, 26, 0.5);
    line-height: 1.3;
}

.page-fishing-games__main-title {
    font-weight: bold;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    /* Using clamp for responsive font size without fixed large values */
    font-size: clamp(2.2rem, 4vw, 3.2rem); 
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__intro-text {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-main);
}

.page-fishing-games__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-fishing-games__text-block a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__text-block a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    /* Small top padding, body handles header offset */
    padding-top: 10px; 
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    width: 100%; /* Ensure it takes full width within max-width */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    /* No background-image, use img tag */
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
    background: var(--deep-orange); /* Darker orange on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Dark background sections */
.page-fishing-games__dark-section {
    background-color: var(--card-background); /* Use card background for sections */
    padding: 60px 0;
    margin-bottom: 30px;
}

/* Feature Cards */
.page-fishing-games__feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-fishing-games__card {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color); /* Added border */
    color: var(--text-main); /* Text Main for card content */
}

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

.page-fishing-games__card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-fishing-games__card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency in cards */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size for card images */
    min-height: 200px;
}

/* Gameplay Section */
.page-fishing-games__gameplay-section {
    padding: 60px 0;
}

.page-fishing-games__content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__content-wrapper .page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__image-wrapper {
    flex: 1;
    min-width: 300px; /* Ensure image wrapper has a minimum width */
}

.page-fishing-games__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__ordered-list {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-fishing-games__ordered-list li {
    margin-bottom: 10px;
    font-size: 16px;
}

.page-fishing-games__ordered-list strong {
    color: var(--primary-color);
}

.page-fishing-games__btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary:hover {
    background: var(--deep-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Strategy Section */
.page-fishing-games__strategy-section {
    padding: 60px 0;
}

.page-fishing-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__strategy-section img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    margin-top: 40px;
    min-width: 200px;
    min-height: 200px;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
}

.page-fishing-games__promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-fishing-games__promotion-grid .page-fishing-games__card {
    padding: 20px;
}

.page-fishing-games__promotion-grid .page-fishing-games__card img {
     /* Adjust height for promo cards */
    margin-bottom: 15px;
}

.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Security & FAQ Section */
.page-fishing-games__security-faq-section {
    padding: 60px 0;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
    margin-bottom: 40px;
}

details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-background); /* Dark background for FAQ item */
    color: var(--text-main); /* Light text for FAQ item */
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    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: rgba(255, 140, 26, 0.1); /* Slight highlight on hover */
}

.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    background: rgba(255, 140, 26, 0.05); /* Lighter background for answer */
    border-radius: 0 0 5px 5px;
    color: var(--text-main);
}

/* Call to Action */
.page-fishing-games__call-to-action {
    padding: 80px 0;
    text-align: center;
    background-color: var(--primary-color); /* Use primary color for CTA background */
    color: #ffffff;
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
    color: #ffffff;
    text-shadow: none;
}

.page-fishing-games__call-to-action .page-fishing-games__text-block {
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__call-to-action .page-fishing-games__text-block a {
    color: #FFF3E6;
    text-decoration: underline;
}

.page-fishing-games__call-to-action .page-fishing-games__text-block a:hover {
    color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__container {
        padding: 30px 20px;
    }
    .page-fishing-games__section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 3.5vw, 2.8rem);
    }
    .page-fishing-games__intro-text {
        font-size: 16px;
    }
    .page-fishing-games__card-title {
        font-size: 20px;
    }
    .page-fishing-games__content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .page-fishing-games__image-wrapper {
        margin-top: 30px;
        width: 100%;
    }
    .page-fishing-games__image-wrapper img {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Keep small top padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-image img {
        border-radius: 4px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-fishing-games__intro-text {
        font-size: 15px;
        margin-bottom: 25px;
    }
    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__cta-buttons-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
    .page-fishing-games__text-block {
        font-size: 15px;
    }
    .page-fishing-games__feature-cards,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__promotion-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__card {
        padding: 25px;
    }
    .page-fishing-games__card-title {
        font-size: 18px;
    }
    .page-fishing-games__card img {
        
        min-width: 200px !important;
        min-height: 200px !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__image-wrapper img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-fishing-games__ordered-list {
        margin-left: 20px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 16px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Ensure all images are responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}