/* style/fishing-games.css */

/* Base styles and variables */
:root {
    --pg88-gold: #FFD700;
    --pg88-red: #8B0000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #000;
    --bg-card-dark: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

.page-fishing-games {
    color: var(--text-light); /* Default light text on dark body background */
    background-color: var(--bg-dark); /* Ensure consistency if main is not transparent */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-fishing-games__section-spacing {
    padding: 80px 0;
}

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

.page-fishing-games__text-center {
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: 3.2em;
    color: var(--pg88-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 1.2em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__btn-primary {
    background-color: var(--pg88-gold);
    color: var(--bg-dark);
    border: 2px solid var(--pg88-gold);
}

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--pg88-gold), 10%);
    color: var(--text-light);
    border-color: darken(var(--pg88-gold), 10%);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--pg88-gold);
    color: var(--bg-dark);
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.7);
    z-index: 2;
}

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

.page-fishing-games__hero-title {
    font-size: 4.5em;
    color: var(--pg88-gold);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
}

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

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

/* Intro Section */
.page-fishing-games__intro-section {
    background-color: var(--bg-dark);
}

.page-fishing-games__intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__intro-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
}

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

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

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    background-color: #1a1a1a;
}

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

.page-fishing-games__feature-card {
    background-color: var(--bg-card-dark);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 1.8em;
    color: var(--pg88-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__feature-card p {
    font-size: 1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    background-color: var(--bg-dark);
}

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

.page-fishing-games__game-card {
    background-color: var(--bg-card-dark);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__game-title {
    font-size: 1.6em;
    color: var(--pg88-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.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 {
    font-size: 0.95em;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* Guide & Tips Section */
.page-fishing-games__guide-tips-section {
    background-color: #1a1a1a;
}

.page-fishing-games__guide-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.page-fishing-games__guide-subtitle {
    font-size: 2em;
    color: var(--pg88-gold);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__guide-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.page-fishing-games__guide-video-wrapper {
    text-align: center;
    position: sticky;
    top: calc(var(--header-offset, 120px) + 20px); /* Adjust sticky position */
}

.page-fishing-games__video-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-fishing-games__video-caption {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
}

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

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

.page-fishing-games__promo-card {
    background-color: var(--bg-card-dark);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__promo-title {
    font-size: 1.8em;
    color: var(--pg88-gold);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__promo-card p {
    font-size: 1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.page-fishing-games__cta-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

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

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

.page-fishing-games__faq-item {
    background-color: var(--bg-card-dark);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.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); /* Change + to X or - */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-fishing-games__faq-answer p {
    font-size: 1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* Final CTA Section */
.page-fishing-games__cta-section-final {
    background-color: var(--pg88-red);
    padding: 100px 0;
}

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

.page-fishing-games__cta-section-final .page-fishing-games__section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3.5em;
    }

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

    .page-fishing-games__section-title {
        font-size: 2.8em;
    }

    .page-fishing-games__intro-grid,
    .page-fishing-games__guide-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__guide-video-wrapper {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section-spacing {
        padding: 50px 0;
    }

    .page-fishing-games__hero-section {
        height: auto;
        min-height: 500px;
    }

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

    .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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

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

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

    .page-fishing-games__intro-image-wrapper,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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

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

    .page-fishing-games__guide-subtitle {
        font-size: 1.6em;
    }

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

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }

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

    .page-fishing-games__hero-buttons {
        gap: 10px;
    }
}