/* style/fishing-games.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-light: #f1f3f5;
    --background-dark: #0d0d0d; /* Assuming dark-bg from shared.css is similar to this */
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light); /* Default text color for page content on dark body background */
    background-color: var(--background-dark); /* Inherits from body, but explicitly set for clarity */
}

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

/* Top padding for fixed header */
.page-fishing-games__intro-section {
    padding-top: 120px; /* Adjust based on actual header height */
}

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

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

.page-fishing-games__main-title {
    font-size: 3.2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__intro-text {
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__intro-text a,
.page-fishing-games__section-description a,
.page-fishing-games__card-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-fishing-games__intro-text a:hover,
.page-fishing-games__section-description a:hover,
.page-fishing-games__card-text a:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-fishing-games__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-fishing-games__cta-group--bottom {
    margin-top: 50px;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-primary:hover {
    background: #ffc107;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
    background: #002244;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__feature-grid, 
.page-fishing-games__game-list, 
.page-fishing-games__steps-grid,
.page-fishing-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__step-card,
.page-fishing-games__strategy-card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color-dark);
}

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

.page-fishing-games__feature-icon {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

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

.page-fishing-games__card-text {
    font-size: 1em;
    color: var(--text-color-dark);
    line-height: 1.7;
}

.page-fishing-games__game-card {
    display: flex;
    flex-direction: row;
    text-align: left;
    padding: 20px;
    align-items: center;
}

.page-fishing-games__game-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-right: 20px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-fishing-games__game-info {
    flex-grow: 1;
}

.page-fishing-games__game-info .page-fishing-games__game-name {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-fishing-games__game-info .page-fishing-games__game-description {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

.page-fishing-games__game-info .page-fishing-games__cta-button {
    padding: 10px 20px;
    font-size: 1em;
    box-shadow: none;
    background: var(--primary-color);
    color: var(--text-color-light);
    border: none;
}

.page-fishing-games__game-info .page-fishing-games__cta-button:hover {
    background: #002244;
    transform: none;
    box-shadow: none;
}

.page-fishing-games__step-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-fishing-games__strategy-card .page-fishing-games__card-title {
    color: var(--primary-color);
}

.page-fishing-games__faq-section {
    padding-bottom: 80px;
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-color-dark);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-color-dark);
}

.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-fishing-games__faq-question:active {
    background: #eeeeee;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 2.8em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__intro-text,
    .page-fishing-games__section-description {
        font-size: 1em;
    }
    .page-fishing-games__feature-grid, 
    .page-fishing-games__game-list, 
    .page-fishing-games__steps-grid,
    .page-fishing-games__strategy-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-fishing-games__game-card {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__game-image {
        margin-right: 0;
        margin-bottom: 15px;
        max-width: 150px;
    }
    .page-fishing-games__game-info .page-fishing-games__game-name {
        font-size: 1.5em;
    }
    .page-fishing-games__game-info .page-fishing-games__game-description {
        font-size: 0.95em;
    }
    .page-fishing-games__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 20px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__intro-section {
        padding-top: 100px !important; /* Adjust for mobile fixed header */
    }
    .page-fishing-games__main-title {
        font-size: 2em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__intro-text,
    .page-fishing-games__section-description,
    .page-fishing-games__card-text {
        font-size: 0.95em;
    }
    .page-fishing-games__feature-grid, 
    .page-fishing-games__game-list, 
    .page-fishing-games__steps-grid,
    .page-fishing-games__strategy-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__game-card {
        padding: 15px;
    }
    .page-fishing-games__game-image {
        max-width: 120px;
    }
    .page-fishing-games__feature-icon,
    .page-fishing-games__step-image {
        max-width: 100px;
    }
    .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-fishing-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image adaptation - IMPORTANT */
    .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;
    }
}