/* style/fishing-games.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --text-on-dark-bg: #ffffff;
    --text-on-light-bg: #333333;
    --button-text-color: #ffffff; /* Overriding #FFFF00 for WCAG AA contrast */
    --register-login-font-color: #FFFF00; /* As per specific instruction, but not used on #C30808 background due to contrast */
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-on-light-bg); /* Default text color for light body background */
    line-height: 1.6;
    padding-top: 0; /* Handled by shared.css body padding, or hero section */
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--text-on-dark-bg);
    text-align: center;
    padding-top: var(--header-offset, 120px);
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-on-dark-bg);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-on-dark-bg);
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.page-fishing-games__btn-primary {
    background: var(--register-color); /* #C30808 */
    color: var(--button-text-color); /* #FFFFFF for WCAG AA contrast */
    border-color: var(--register-color);
}

.page-fishing-games__btn-primary:hover {
    background: darken(var(--register-color), 10%);
    border-color: darken(var(--register-color), 10%);
}

.page-fishing-games__btn-secondary {
    background: var(--secondary-color); /* #FFFFFF */
    color: var(--primary-color); /* #017439 */
    border-color: var(--primary-color);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-fishing-games__text-block {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-fishing-games__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-fishing-games__list li {
    margin-bottom: 10px;
}

.page-fishing-games__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-fishing-games__image-content {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.page-fishing-games__intro-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
}

.page-fishing-games__features-section,
.page-fishing-games__security-section,
.page-fishing-games__strategy-section,
.page-fishing-games__conclusion-section {
    padding: 60px 0;
}

/* Color contrast classes */
.page-fishing-games__light-bg {
    background: var(--secondary-color); /* #FFFFFF */
    color: var(--text-on-light-bg); /* #333333 */
}

.page-fishing-games__dark-section {
    background: var(--primary-color); /* #017439 */
    color: var(--text-on-dark-bg); /* #FFFFFF */
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__sub-title {
    color: var(--text-on-dark-bg);
}

.page-fishing-games__dark-section a {
    color: var(--register-login-font-color); /* #FFFF00 */
    text-decoration: underline;
}

.page-fishing-games__dark-section a:hover {
    color: darken(var(--register-login-font-color), 10%);
}

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

.page-fishing-games__feature-card {
    background: var(--secondary-color);
    color: var(--text-on-light-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.page-fishing-games__faq-item {
    background: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-fishing-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    background-color: #f9f9f9;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
}

.page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.05em;
    color: var(--text-on-light-bg);
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
}

.page-fishing-games__call-to-action {
    text-align: center;
    margin-top: 50px;
}

/* Links in content */
.page-fishing-games a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-fishing-games__text-block,
    .page-fishing-games__list li,
    .page-fishing-games__faq-answer p {
        font-size: 1em;
    }
    .page-fishing-games__features-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__feature-card {
        padding: 25px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__faq-item summary {
        font-size: 1.1em;
        padding: 15px;
    }
    /* Image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
}