/* style/fishing-games.css */
:root {
    --primary-color: #CC0000;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light-gray: #f1f3f5;
    --border-light: #e0e0e0;
}

/* Base styles for the page content, ensuring contrast with shared.css body background */
.page-fishing-games {
    color: var(--text-light); /* Assuming --dark-bg-1 from shared.css is dark */
    background-color: var(--dark-bg-1, #0d0d0d); /* Fallback if shared.css not loaded */
    font-family: 'Arial', sans-serif;
}

.page-fishing-games h1, .page-fishing-games h2, .page-fishing-games h3, .page-fishing-games h4, .page-fishing-games h5, .page-fishing-games h6 {
    color: var(--text-light);
}

.page-fishing-games p, .page-fishing-games li {
    color: var(--text-light);
}

/* HERO Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 100px; /* Adjusted for fixed header on desktop */
    background: linear-gradient(135deg, var(--primary-color) 0%, #330000 100%); /* Darker red gradient for hero */
    overflow: hidden;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__main-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--secondary-color); /* Gold for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.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: #e6b800;
    border-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
    background: #a30000;
    border-color: #a30000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-fishing-games__section {
    padding: 60px 20px;
    margin-bottom: 20px;
    background-color: var(--dark-bg-1, #0d0d0d); /* Ensure consistency with body background */
}

.page-fishing-games__section:nth-of-type(odd) {
    background-color: #1a1a1a; /* Slightly different dark background for visual separation */
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color); /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-games p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-fishing-games__image-wrapper {
    margin: 40px auto;
    max-width: 900px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* List Styles */
.page-fishing-games__list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.page-fishing-games__list-item {
    background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__list-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
}

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

.page-fishing-games__game-card {
    background: linear-gradient(145deg, #1c1c1c, #0a0a0a); /* Dark gradient for game cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--secondary-color);
}

.page-fishing-games__game-card-title {
    font-size: 26px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__game-card-description {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.5;
    padding: 0 15px;
    margin-bottom: 25px;
}

.page-fishing-games__btn-game-play {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-game-play:hover {
    background: #a30000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Guide List Styles */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-fishing-games__guide-list li {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px 40px 30px 70px; /* Increased left padding for counter */
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.page-fishing-games__guide-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 30px;
    background: var(--secondary-color);
    color: var(--primary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__guide-list h3 {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-fishing-games__guide-list p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
}

.page-fishing-games__inline-cta {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-fishing-games__inline-cta:hover {
    color: #e6b800;
}

/* Promotions CTA Wrapper */
.page-fishing-games__cta-wrapper {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* FAQ Section */
.page-fishing-games__section--faq {
    background-color: #1a1a1a;
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #2a2a2a; /* Darker background for question */
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-fishing-games__faq-question:hover {
    background: #3a3a3a;
    border-color: #4a4a4a;
}

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

.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: 30px;
    height: 30px;
}

.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 25px;
    opacity: 0;
    background: #222222; /* Slightly lighter dark background for answer */
    border-radius: 0 0 8px 8px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-fishing-games__faq-answer p {
    color: #cccccc;
    font-size: 16px;
    margin-bottom: 15px;
}

.page-fishing-games__faq-answer .page-fishing-games__inline-cta {
    display: block;
    margin-top: 10px;
    text-align: left;
}

/* News Section */
.page-fishing-games__section--news {
    background-color: var(--dark-bg-1, #0d0d0d);
}

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

.page-fishing-games__news-card {
    background: #2a2a2a; /* Dark background for news cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-fishing-games__news-title {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 20px 10px 20px;
    line-height: 1.4;
}

.page-fishing-games__news-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__news-title a:hover {
    color: #e6b800;
    text-decoration: underline;
}

.page-fishing-games__news-excerpt {
    font-size: 15px;
    color: #cccccc;
    line-height: 1.6;
    margin: 0 20px 20px 20px;
}

.page-fishing-games__read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    padding: 0 20px 20px 20px;
    transition: color 0.3s ease;
}

.page-fishing-games__read-more:hover {
    color: #a30000;
    text-decoration: underline;
}

/* Conclusion Section */
.page-fishing-games__section--conclusion .page-fishing-games__container {
    background: linear-gradient(135deg, var(--primary-color), #330000); /* Dark red gradient */
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__section--conclusion .page-fishing-games__section-title {
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.page-fishing-games__section--conclusion p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-fishing-games__section--conclusion .page-fishing-games__inline-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-fishing-games__section--conclusion .page-fishing-games__inline-link:hover {
    color: #e6b800;
}

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

    .page-fishing-games__hero-description {
        font-size: 18px;
    }

    .page-fishing-games__section-title {
        font-size: 32px;
    }

    .page-fishing-games__list-title {
        font-size: 22px;
    }

    .page-fishing-games__game-card img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 100px !important; /* Mobile fixed header adjustment */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__hero-image {
        margin-bottom: 20px;
        border-radius: 8px;
    }

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

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

    .page-fishing-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }

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

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

    .page-fishing-games p {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-fishing-games__list-item {
        padding: 25px;
        margin-bottom: 15px;
    }

    .page-fishing-games__list-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .page-fishing-games__list-item p {
        font-size: 15px;
    }

    .page-fishing-games__game-grid {
        gap: 20px;
    }

    .page-fishing-games__game-card img {
        height: 160px;
    }

    .page-fishing-games__game-card-title {
        font-size: 22px;
    }

    .page-fishing-games__game-card-description {
        font-size: 14px;
    }

    .page-fishing-games__btn-game-play {
        padding: 10px 20px;
        font-size: 15px;
    }

    .page-fishing-games__guide-list li {
        padding: 25px 30px 25px 60px;
        margin-bottom: 20px;
    }

    .page-fishing-games__guide-list li::before {
        left: 20px;
        top: 25px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .page-fishing-games__guide-list h3 {
        font-size: 20px;
    }

    .page-fishing-games__guide-list p {
        font-size: 15px;
    }

    .page-fishing-games__cta-wrapper {
        gap: 15px;
        flex-direction: column;
    }

    .page-fishing-games__cta-wrapper .page-fishing-games__cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }

    .page-fishing-games__faq-question h3 {
        font-size: 16px;
    }

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

    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px !important;
    }

    .page-fishing-games__news-grid {
        gap: 20px;
    }

    .page-fishing-games__news-card img {
        height: 180px;
    }

    .page-fishing-games__news-title {
        font-size: 18px;
        margin: 15px 15px 8px 15px;
    }

    .page-fishing-games__news-excerpt {
        font-size: 14px;
        margin: 0 15px 15px 15px;
    }

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

    .page-fishing-games__section--conclusion .page-fishing-games__container {
        padding: 30px;
    }

    .page-fishing-games__section--conclusion .page-fishing-games__section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .page-fishing-games__section--conclusion p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Mobile image adaptation */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__container,
    .page-fishing-games__hero-container,
    .page-fishing-games__image-wrapper,
    .page-fishing-games__game-card,
    .page-fishing-games__news-card,
    .page-fishing-games__list-item,
    .page-fishing-games__guide-list li,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__hero-content {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 28px;
    }

    .page-fishing-games__section-title {
        font-size: 24px;
    }

    .page-fishing-games__hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .page-fishing-games__cta-button {
        font-size: 15px;
        padding: 10px 20px;
    }

    .page-fishing-games__game-card img {
        height: 140px;
    }

    .page-fishing-games__guide-list li {
        padding: 20px 25px 20px 50px;
    }

    .page-fishing-games__guide-list li::before {
        left: 15px;
        top: 20px;
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}