/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-button-color: #C30808;
    --login-button-color: #C30808;
    --background-color: #FFFFFF;
    --register-login-font-color: #FFFF00;
    --text-color-light-bg: #333333;
    --text-color-dark-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-light-bg);
    background-color: var(--background-color);
}

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

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

/* 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;
    padding-top: 10px; /* Small top padding, header offset handled by shared body */
    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%;
    max-width: 800px;
}

.page-fishing-games__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-color-dark-bg);
}

.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: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--register-button-color);
    color: var(--register-login-font-color);
    border: 2px solid transparent;
}

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

.page-fishing-games__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-fishing-games__emoji {
    margin-left: 8px;
}

/* General Section Styles */
.page-fishing-games__section {
    padding: 60px 20px;
    margin-bottom: 0;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
    font-weight: bold;
}

.page-fishing-games__section.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__section.page-fishing-games__dark-bg p,
.page-fishing-games__section.page-fishing-games__dark-bg li {
    color: var(--text-color-dark-bg);
}

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

.page-fishing-games__card {
    background: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    color: var(--text-color-light-bg);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

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

.page-fishing-games__card p {
    font-size: 0.95em;
    padding: 0 15px;
    color: var(--text-color-light-bg);
}

.page-fishing-games__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-fishing-games__list-item {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid var(--register-button-color);
    border-radius: 5px;
    font-size: 1.1em;
    text-align: left;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__list-item strong {
    color: var(--register-login-font-color);
}

.page-fishing-games__strategy-list {
    list-style: decimal;
    padding-left: 25px;
    margin-top: 20px;
}

.page-fishing-games__strategy-list .page-fishing-games__list-item {
    background: none;
    border-left: none;
    border-bottom: 1px dashed var(--border-color);
    border-radius: 0;
    padding: 10px 0;
    margin-bottom: 5px;
    color: var(--text-color-light-bg);
}

.page-fishing-games__strategy-list .page-fishing-games__list-item:last-child {
    border-bottom: none;
}

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

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

.page-fishing-games__text-link {
    color: var(--register-login-font-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games__text-link:hover {
    color: #ffd700;
}

/* FAQ Styles */
details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--secondary-color);
    color: var(--text-color-light-bg);
}
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: #f5f5f5;
}
.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--primary-color);
}
.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;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
}

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

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

    .page-fishing-games__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-fishing-games__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-fishing-games__cta-button,
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .page-fishing-games__button-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-fishing-games__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card {
        padding-bottom: 15px;
    }

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

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

    .page-fishing-games__card p {
        font-size: 0.9em;
    }

    .page-fishing-games__list-item {
        font-size: 1em;
        padding: 12px 15px;
    }

    .page-fishing-games__strategy-list {
        padding-left: 20px;
    }

    .page-fishing-games__strategy-list .page-fishing-games__list-item {
        padding: 8px 0;
    }

    .page-fishing-games__image-full {
        margin-top: 30px;
    }

    .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;
    }

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