/* style/fishing-games.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

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

/* 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: var(--header-offset, 120px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    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;
    position: relative;
    z-index: 1;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image slightly */
}

.page-fishing-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

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

/* General Section Styling */
.page-fishing-games__section {
    padding: 80px 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.page-fishing-games__section:nth-of-type(even) {
    background-color: #ffffff;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__text-block strong {
    color: var(--secondary-color);
}

.page-fishing-games__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

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

.page-fishing-games__image-wrapper--large img {
    max-width: 90%;
}

/* Grid Layout for Highlights/Promotions */
.page-fishing-games__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: var(--text-dark);
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__card p {
    font-size: 1em;
    line-height: 1.7;
}

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

.page-fishing-games__list li {
    background: var(--bg-light);
    margin-bottom: 10px;
    padding: 15px 25px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1.05em;
    color: var(--text-dark);
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.page-fishing-games__numbered-list {
    list-style: none;
    counter-reset: my-counter;
    padding: 0;
    margin: 30px 0;
}

.page-fishing-games__numbered-list li {
    counter-increment: my-counter;
    margin-bottom: 20px;
    padding-left: 45px;
    position: relative;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-fishing-games__numbered-list li::before {
    content: counter(my-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-fishing-games__numbered-list li a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-fishing-games__numbered-list li a:hover {
    color: var(--secondary-color);
}

/* Promotions Specific */
.page-fishing-games__grid--promotions .page-fishing-games__card--promotion {
    background: linear-gradient(145deg, #FFFDE7, #FFFACD);
    border-color: var(--primary-color);
}

.page-fishing-games__card--promotion .page-fishing-games__card-title {
    color: var(--secondary-color);
}

.page-fishing-games__cta-button--small {
    padding: 12px 30px;
    font-size: 1em;
    margin-top: 30px;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.page-fishing-games__cta-button--small:hover {
    background-color: #A52A2A; /* Darker red */
}

/* Why Choose Section */
.page-fishing-games__list--advantages li {
    border-left-color: var(--secondary-color);
    background: #ffffff;
}

/* Call to Action Bottom */
.page-fishing-games__cta-bottom {
    background: linear-gradient(135deg, var(--secondary-color), #A52A2A);
    color: var(--text-light);
    text-align: center;
    padding: 100px 0;
}

.page-fishing-games__cta-container {
    max-width: 900px;
}

.page-fishing-games__section-title--cta {
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-fishing-games__section-title--cta::after {
    background-color: var(--primary-color);
}

.page-fishing-games__text-block--cta {
    color: var(--text-light);
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* FAQ Section */
.page-fishing-games__faq {
    background-color: #f0f2f5;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    border: 1px solid var(--border-color);
    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: #f5f5f5;
    border-color: #d0d0d0;
}

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

.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-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;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: rotate(45deg); /* Change to a cross when active */
}

.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: #fdfdfd;
    color: var(--text-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

.page-fishing-games__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: auto;
        margin-right: auto;
    }
    .page-fishing-games__hero-content {
        margin-top: -40px; /* Adjust overlap for mobile */
        padding: 15px;
    }

    .page-fishing-games__section {
        padding: 50px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 0.95em;
        text-align: left;
    }
    .page-fishing-games__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__card {
        padding: 20px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__list li, .page-fishing-games__numbered-list li {
        font-size: 1em;
        padding-left: 40px;
    }
    .page-fishing-games__numbered-list li::before {
        width: 25px;
        height: 25px;
        font-size: 1em;
    }

    /* Image responsive for content area */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__image-wrapper, .page-fishing-games__image-wrapper--large {
        margin: 20px 0;
    }

    /* FAQ Mobile */
    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 1em;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px !important;
    }

    /* CTA Bottom */
    .page-fishing-games__cta-bottom {
        padding: 60px 15px;
    }
    .page-fishing-games__section-title--cta {
        font-size: 1.6em;
    }
    .page-fishing-games__text-block--cta {
        font-size: 1em;
    }

    /* Ensure no horizontal scroll */
    .page-fishing-games {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__card-title {
        font-size: 1.2em;
    }
}