/* style/fishing-games.css */
:root {
    --primary-color: #0A2239;
    --secondary-color: #E6B31E;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #0a0a0a;
    --card-bg-dark: rgba(255, 255, 255, 0.08);
    --border-color-dark: rgba(255, 255, 255, 0.15);
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark, so text is light */
    background-color: var(--background-dark);
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    word-wrap: break-word;
}

.page-fishing-games__cta-button:hover {
    background: #FFC107; /* Slightly lighter gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--centered {
    display: block;
    margin: 40px auto 20px auto;
    max-width: 300px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 80px 20px 60px;
    text-align: center;
    background-color: var(--primary-color);
    overflow: hidden;
}

.page-fishing-games__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 34, 57, 0.9) 0%, rgba(20, 60, 90, 0.9) 100%);
    z-index: 1;
}

.page-fishing-games__hero-section .page-fishing-games__container {
    position: relative;
    z-index: 2;
}

.page-fishing-games__main-title {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.page-fishing-games__hero-image-wrapper {
    margin-top: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-fishing-games__intro-section p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
    opacity: 0.9;
}

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

/* Advantages Section */
.page-fishing-games__advantages-section {
    padding: 60px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-fishing-games__advantage-item {
    background-color: var(--card-bg-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color-dark);
}

.page-fishing-games__advantage-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
}

.page-fishing-games__advantage-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-fishing-games__advantage-item p {
    font-size: 16px;
    opacity: 0.8;
}

/* Games Showcase */
.page-fishing-games__games-showcase {
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-light);
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color-dark);
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-card-title {
    font-size: 22px;
    color: var(--secondary-color);
    padding: 20px 20px 10px;
}

.page-fishing-games__game-card-description {
    font-size: 16px;
    color: var(--text-light);
    padding: 0 20px 20px;
    flex-grow: 1;
    opacity: 0.8;
}

.page-fishing-games__game-card-button {
    display: block;
    padding: 12px 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 0 0 10px 10px;
}

.page-fishing-games__game-card-button:hover {
    background: #FFC107;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 60px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

.page-fishing-games__guide-step {
    background-color: var(--card-bg-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
}

.page-fishing-games__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 32px;
    font-weight: bold;
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-fishing-games__guide-step p {
    font-size: 16px;
    opacity: 0.8;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-light);
}

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

.page-fishing-games__tips-list li {
    background-color: var(--card-bg-dark);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    font-size: 18px;
    line-height: 1.7;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__tips-list li strong {
    color: var(--secondary-color);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.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-item {
    background-color: var(--card-bg-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color-dark);
    transition: transform 0.3s ease;
}

.page-fishing-games__promo-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__promo-title {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-fishing-games__promo-item p {
    font-size: 16px;
    opacity: 0.8;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-light);
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color-dark);
    background-color: var(--card-bg-dark);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg-dark);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    position: relative;
    color: var(--text-light);
}

.page-fishing-games__faq-question:hover {
    background: rgba(255, 255, 255, 0.12);
}

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

.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    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: 32px;
    height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: var(--text-light);
    transform: rotate(45deg); /* Optional: rotate for 'X' effect if '+' is used */
}

.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 20px;
    opacity: 0;
    color: var(--text-light);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid var(--border-color-dark);
}

.page-fishing-games__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.8;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-fishing-games__conclusion-section p {
    font-size: 20px;
    max-width: 900px;
    margin: 20px auto 40px auto;
    line-height: 1.7;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 42px;
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games__main-title {
        font-size: 36px;
    }

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

    .page-fishing-games__description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-fishing-games__cta-button {
        font-size: 16px;
        padding: 12px 25px;
        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-button--centered {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0;
        margin-right: 0;
    }

    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__guide-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__advantages-grid,
    .page-fishing-games__game-cards,
    .page-fishing-games__guide-steps,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__advantage-item,
    .page-fishing-games__game-card,
    .page-fishing-games__guide-step,
    .page-fishing-games__promo-item {
        padding: 20px;
    }

    .page-fishing-games__advantage-title,
    .page-fishing-games__game-card-title,
    .page-fishing-games__step-title,
    .page-fishing-games__promo-title {
        font-size: 20px;
    }

    .page-fishing-games__intro-section p,
    .page-fishing-games__advantage-item p,
    .page-fishing-games__game-card-description,
    .page-fishing-games__guide-step p,
    .page-fishing-games__tips-list li p,
    .page-fishing-games__promo-item p,
    .page-fishing-games__faq-answer p,
    .page-fishing-games__conclusion-section p {
        font-size: 15px;
    }

    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-fishing-games__faq-question h3 {
        font-size: 16px;
        width: calc(100% - 40px);
    }
    
    .page-fishing-games__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 30px;
    }
    .page-fishing-games__section-title {
        font-size: 24px;
    }
    .page-fishing-games__cta-button {
        padding: 10px 20px;
        font-size: 15px;
    }
    .page-fishing-games__step-number {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* Dark background text color override */
.page-fishing-games__dark-bg {
    color: var(--text-light);
}