/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #00562e;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-color: #ffffff;
    --link-color: #017439;
    --link-hover-color: #00562e;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-font-color: #FFFF00;
}

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

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

.page-fishing-games__dark-bg .page-fishing-games__link {
    color: var(--text-color-light);
    text-decoration: underline;
}

.page-fishing-games__dark-bg .page-fishing-games__link:hover {
    color: #e0e0e0;
}

.page-fishing-games__light-bg {
    background-color: #f8f8f8;
    color: var(--text-color-dark);
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 30px;
    color: inherit;
    line-height: 1.2;
}

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

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

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-fishing-games__hero-content h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color-light);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.page-fishing-games__intro-text {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 30px;
    color: var(--text-color-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background: var(--button-login-bg); /* Using #C30808 for primary CTA */
    color: var(--button-font-color); /* Using #FFFF00 for font */
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
    background: #a30606;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
    background: var(--text-color-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.page-fishing-games__small-button {
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 15px;
}

.page-fishing-games__about-section p,
.page-fishing-games__tips-strategies p {
    font-size: 17px;
    max-width: 900px;
    margin: 0 auto 20px auto;
    text-align: justify;
}

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

.page-fishing-games__feature-item {
    background: var(--background-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-height: 350px; /* Ensure sufficient height */
}

.page-fishing-games__feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

.page-fishing-games__feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__feature-item p {
    font-size: 16px;
    color: var(--text-color-dark);
    text-align: left;
    margin-bottom: 0;
}

.page-fishing-games__why-choose-us .page-fishing-games__list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

.page-fishing-games__why-choose-us .page-fishing-games__list li {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 17px;
    display: flex;
    align-items: center;
    color: var(--text-color-light);
}

.page-fishing-games__why-choose-us .page-fishing-games__list li strong {
    color: var(--button-font-color);
    margin-right: 10px;
}

.page-fishing-games__why-choose-us .page-fishing-games__list li::before {
    content: '✓';
    color: var(--button-font-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 20px;
}

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

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

.page-fishing-games__game-card {
    background: var(--background-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 450px; /* Ensure sufficient height */
}

.page-fishing-games__game-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

.page-fishing-games__game-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__game-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-fishing-games__game-card h3 a:hover {
    text-decoration: underline;
}

.page-fishing-games__game-card p {
    font-size: 16px;
    color: var(--text-color-dark);
    text-align: left;
    margin-bottom: auto; /* Push button to bottom */
}

.page-fishing-games__tips-strategies .page-fishing-games__list {
    list-style: decimal;
    padding-left: 20px;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-fishing-games__tips-strategies .page-fishing-games__list li {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--text-color-dark);
}

.page-fishing-games__image-full-width {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__promo-card {
    background: var(--background-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    min-height: 200px; /* Ensure sufficient height */
}

.page-fishing-games__promo-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__promo-card p {
    font-size: 16px;
    color: var(--text-color-dark);
}

/* FAQ Styles */
details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    text-align: left;
}
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;
    color: var(--primary-color);
    font-weight: 600;
}
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: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}
.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    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: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-color-dark);
    font-size: 16px;
}

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

.page-fishing-games__blog-card {
    background: var(--background-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Ensure sufficient height */
}

.page-fishing-games__blog-card img {
    width: 100%;
    
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

.page-fishing-games__blog-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__blog-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-fishing-games__blog-card h3 a:hover {
    text-decoration: underline;
}

.page-fishing-games__blog-card p {
    font-size: 15px;
    color: var(--text-color-dark);
    text-align: left;
    margin-bottom: auto; /* Push date to bottom */
}

.page-fishing-games__blog-date {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    display: block;
}

.page-fishing-games__highlight {
    color: var(--button-register-bg);
    font-weight: bold;
}

.page-fishing-games__link {
    color: var(--link-color);
    text-decoration: none;
}

.page-fishing-games__link:hover {
    text-decoration: underline;
    color: var(--link-hover-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

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

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

    .page-fishing-games__section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__hero-content h1 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .page-fishing-games__intro-text {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-top: 15px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-fishing-games__cta-buttons .page-fishing-games__cta-button {
        margin: 0;
    }

    .page-fishing-games__about-section p,
    .page-fishing-games__tips-strategies p {
        font-size: 16px;
        margin-bottom: 15px;
        text-align: left;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__blog-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__blog-card {
        padding: 20px;
        min-height: auto;
    }

    .page-fishing-games__feature-item img,
    .page-fishing-games__game-card img,
    .page-fishing-games__blog-card img {
        
        margin-bottom: 15px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__feature-item h3,
    .page-fishing-games__game-card h3,
    .page-fishing-games__promo-card h3,
    .page-fishing-games__blog-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .page-fishing-games__feature-item p,
    .page-fishing-games__game-card p,
    .page-fishing-games__promo-card p,
    .page-fishing-games__blog-card p {
        font-size: 15px;
    }

    .page-fishing-games__why-choose-us .page-fishing-games__list {
        margin: 20px auto;
    }

    .page-fishing-games__why-choose-us .page-fishing-games__list li {
        font-size: 16px;
        padding: 12px 15px;
        margin-bottom: 10px;
    }

    .page-fishing-games__tips-strategies .page-fishing-games__list {
        margin: 20px auto;
    }

    .page-fishing-games__tips-strategies .page-fishing-games__list li {
        font-size: 16px;
    }

    .page-fishing-games__image-full-width {
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px;
    }

    .page-fishing-games__faq-qtext {
        font-size: 15px;
    }

    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
    }

    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }

    .page-fishing-games__card,
    .page-fishing-games__section,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}