/* style/fishing-games.css */

:root {
    --primary-color: #1A2B4C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0a0a0a; /* Inherited from body */
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body bg */
    background-color: var(--bg-dark); /* Ensure consistency */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

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

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

.page-fishing-games__section-title {
    font-size: 3em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 700px;
}

.page-fishing-games__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-fishing-games__hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
}

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

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

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

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

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

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 1em;
}

/* Content Grid */
.page-fishing-games__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-block {
    line-height: 1.8;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-fishing-games__image-wrapper {
    text-align: center;
}

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

/* Featured Games */
.page-fishing-games__featured-games .page-fishing-games__section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__card {
    background-color: var(--text-light);
    color: var(--text-dark);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.page-fishing-games__card:hover {
    transform: translateY(-8px);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-fishing-games__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__card-title a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.page-fishing-games__card-text {
    font-size: 1em;
    color: var(--text-dark);
    padding: 0 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Guide Section */
.page-fishing-games__guide {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.page-fishing-games__guide .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__guide .page-fishing-games__section-description {
    color: var(--text-dark);
}

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

.page-fishing-games__step-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

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

.page-fishing-games__step-item p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-dark);
}

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

/* Strategies Section */
.page-fishing-games__strategies .page-fishing-games__section-title {
    color: var(--secondary-color);
}

.page-fishing-games__strategies .page-fishing-games__section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__strategy-list li {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--text-light);
    line-height: 1.6;
}

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

/* Promotions Section */
.page-fishing-games__promotions {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.page-fishing-games__promotions .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__promotions .page-fishing-games__section-description {
    color: var(--text-dark);
}

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

/* Why Choose Section */
.page-fishing-games__why-choose .page-fishing-games__section-title {
    color: var(--secondary-color);
}

.page-fishing-games__why-choose .page-fishing-games__section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__advantage-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

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

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

.page-fishing-games__advantage-item p {
    font-size: 1em;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-fishing-games__faq .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px 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(--primary-color);
    cursor: pointer;
    background-color: #ffffff;
    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;
    color: var(--secondary-color);
}

.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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
    background-color: #ffffff;
}

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

.page-fishing-games__faq-answer p {
    margin: 0;
    line-height: 1.7;
    font-size: 1em;
    color: var(--text-dark);
}

.page-fishing-games__faq-answer p strong {
    color: var(--primary-color);
}

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

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.3em;
    }
    .page-fishing-games__section-title {
        font-size: 2.5em;
    }
    .page-fishing-games__content-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__text-block--right {
        order: -1; /* Image first on mobile */
    }
    .page-fishing-games__advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1.1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__section-description {
        font-size: 1em;
    }
    .page-fishing-games__container,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__promotion-cards-grid,
    .page-fishing-games__advantages-grid,
    .page-fishing-games__faq-list {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .page-fishing-games img,
    .page-fishing-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__card-image {
        height: auto; /* Allow height to adjust on mobile */
    }
    .page-fishing-games__faq-question,
    .page-fishing-games__faq-answer {
        padding: 15px;
        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.8em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 1em;
        padding: 10px 15px;
    }
}