/* style/fishing-games.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #1a1a1a;
    --button-login: #EA7C07;
}

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

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

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

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

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

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

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: var(--text-light);
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-fishing-games__dark-section .page-fishing-games__sub-title {
    color: var(--secondary-color);
}

.page-fishing-games__hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    text-align: left;
    overflow: hidden;
}

.page-fishing-games__hero-content {
    flex: 1;
    padding-left: 20px;
    max-width: 50%;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: var(--text-light);
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
    opacity: 0.9;
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--button-login), 10%);
    border-color: darken(var(--button-login), 10%);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-fishing-games__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50%;
    padding-right: 20px;
}

.page-fishing-games__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__about-section {
    padding: 60px 0;
}

.page-fishing-games__content-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-fishing-games__text-block {
    flex: 2;
}

.page-fishing-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__features-section {
    padding: 60px 0;
}

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

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-fishing-games__game-types-section {
    padding: 60px 0;
}

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

.page-fishing-games__game-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    color: var(--text-dark);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 20px 0 10px;
}

.page-fishing-games__game-card p {
    padding: 0 20px 20px;
}

.page-fishing-games__tips-block {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__tips-block ul {
    list-style: none;
    padding: 0;
}

.page-fishing-games__tips-block li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-fishing-games__tips-block li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
}

.page-fishing-games__how-to-play-section {
    padding: 60px 0;
}

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

.page-fishing-games__step-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: var(--text-light);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--button-login);
    color: var(--text-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 3px solid var(--primary-color);
}

.page-fishing-games__step-card .page-fishing-games__card-title {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-fishing-games__promotions-section {
    padding: 60px 0;
}

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

.page-fishing-games__promotion-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    color: var(--text-dark);
}

.page-fishing-games__promotion-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-fishing-games__promotion-card .page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin: 20px 0 10px;
}

.page-fishing-games__promotion-card p {
    padding: 0 20px 20px;
}

.page-fishing-games__promotion-card .page-fishing-games__btn-primary,
.page-fishing-games__promotion-card .page-fishing-games__btn-secondary {
    margin-top: 15px;
    margin-bottom: 20px;
    display: inline-block;
    width: auto;
    padding: 10px 20px;
}

.page-fishing-games__security-section {
    padding: 60px 0;
}

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

.page-fishing-games__faq-section {
    padding: 60px 0;
}

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

.page-fishing-games__faq-item {
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 15px;
    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: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    background-color: var(--secondary-color);
    border-bottom: 1px solid #eee;
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--primary-color);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    color: var(--text-dark);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    padding-top: 10px;
}

.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-fishing-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Details/Summary specific styles to hide default marker */
.page-fishing-games__faq-item > summary::-webkit-details-marker {
    display: none;
}
.page-fishing-games__faq-item > summary {
    list-style: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__hero-content,
    .page-fishing-games__hero-image-wrapper {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-content {
        order: 2;
        margin-top: 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        order: 1;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-fishing-games__content-grid {
        flex-direction: column;
    }
    .page-fishing-games__text-block,
    .page-fishing-games__image-block {
        flex: none;
        width: 100%;
    }
    .page-fishing-games__content-image {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.3em;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__container,
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__box,
    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section,
    .page-fishing-games__hero-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__cta-description {
        font-size: 1.1em;
    }
    .page-fishing-games__btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@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.5em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.2em;
    }
}