/* style/fishing-games.css */

:root {
    --page-fishing-games-primary-color: #26A9E0;
    --page-fishing-games-secondary-color: #FFFFFF;
    --page-fishing-games-dark-text-color: #333333;
    --page-fishing-games-light-text-color: #FFFFFF;
    --page-fishing-games-background-dark: #1a1a2e;
    --page-fishing-games-background-light: #f5f5f5;
    --page-fishing-games-button-login: #EA7C07;
}

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--page-fishing-games-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.page-fishing-games__text-link {
    color: var(--page-fishing-games-primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__text-link:hover {
    text-decoration: underline;
}

.page-fishing-games__highlight {
    color: var(--page-fishing-games-primary-color);
    font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: var(--page-fishing-games-background-dark);
    overflow: hidden;
    padding: 60px 20px;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.8em;
    color: var(--page-fishing-games-secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games__hero-description {
    font-size: 1.4em;
    color: var(--page-fishing-games-light-text-color);
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding in width */
    text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
    transform: translateY(-3px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-primary-color);
    transform: translateY(-3px);
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 80px 0;
    color: var(--page-fishing-games-light-text-color);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background-light);
    color: var(--page-fishing-games-dark-text-color);
}

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

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

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

.page-fishing-games__feature-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Constrain image width within card */
    margin: 0 auto 20px;
    border-radius: 10px;
    display: block;
}

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

.page-fishing-games__feature-description {
    font-size: 1em;
    color: var(--page-fishing-games-dark-text-color);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    padding: 80px 0;
    color: var(--page-fishing-games-light-text-color);
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-fishing-games-light-text-color);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__game-title {
    font-size: 1.4em;
    padding: 15px;
    color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-fishing-games__game-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__game-description {
    padding: 0 15px 20px;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background-light);
    color: var(--page-fishing-games-dark-text-color);
}

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

.page-fishing-games__step-card {
    background-color: var(--page-fishing-games-secondary-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    min-height: 220px; /* Ensure cards have similar height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-fishing-games__step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-secondary-color);
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    color: var(--page-fishing-games-dark-text-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-description {
    font-size: 0.95em;
    color: var(--page-fishing-games-dark-text-color);
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 80px 0;
    color: var(--page-fishing-games-light-text-color);
}

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

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    color: var(--page-fishing-games-light-text-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-item strong {
    color: var(--page-fishing-games-primary-color);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background-light);
    color: var(--page-fishing-games-dark-text-color);
}

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

.page-fishing-games__promo-card {
    background-color: var(--page-fishing-games-secondary-color);
    padding-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
}

.page-fishing-games__promo-title {
    font-size: 1.5em;
    color: var(--page-fishing-games-dark-text-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__promo-description {
    font-size: 0.95em;
    color: var(--page-fishing-games-dark-text-color);
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 0 15px;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 80px 0;
    color: var(--page-fishing-games-light-text-color);
}

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

.page-fishing-games__advantages-list .page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    color: var(--page-fishing-games-light-text-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__advantages-list .page-fishing-games__list-item strong {
    color: var(--page-fishing-games-primary-color);
}

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

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

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-secondary-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-fishing-games-dark-text-color);
    cursor: pointer;
    background-color: var(--page-fishing-games-secondary-color);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--page-fishing-games-dark-text-color);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    color: var(--page-fishing-games-light-text-color);
    text-align: center;
}

/* Image and Video Responsive Styles */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games video,
.page-fishing-games__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games__video-section,
.page-fishing-games__video-container,
.page-fishing-games__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-fishing-games__container {
        padding: 15px;
    }

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

    .page-fishing-games__hero-section {
        min-height: 450px;
        padding: 40px 15px;
    }

    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }

    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__features-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 50px 0;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card {
        padding: 20px;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow-x: hidden !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

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