/* style/fishing-games.css */

:root {
    --primary-color: #001F3F;
    --accent-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #121212;
    --card-background-dark: rgba(255, 255, 255, 0.1);
}

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

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
    position: relative;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: bold;
}

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

.page-fishing-games__content-area {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
}

.page-fishing-games__content-area p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.page-fishing-games__content-area a {
    color: var(--accent-color);
    text-decoration: none;
}

.page-fishing-games__content-area a:hover {
    text-decoration: underline;
}

.page-fishing-games__content-subtitle {
    font-size: 1.5em;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    background-image: url('[GALLERY:hero_fishing:1920x1080:fishing_game,w88,ocean,jackpot,vibrant]');
    background-size: cover;
    background-position: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-fishing-games__hero-section .page-fishing-games__container {
    position: relative;
    z-index: 2;
}

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

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.page-fishing-games__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

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

/* Images */
.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__card {
    background-color: var(--card-background-dark);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

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

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

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

.page-fishing-games__card .page-fishing-games__btn-primary {
    margin-top: auto;
    margin-left: 15px;
    margin-right: 15px;
}

/* Feature List */
.page-fishing-games__feature-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    text-align: left;
    color: var(--text-light);
}

.page-fishing-games__feature-list li {
    background-color: var(--card-background-dark);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-list li strong {
    color: var(--accent-color);
}

/* Video Section */
.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer;
}

.page-fishing-games__video-caption {
    font-style: italic;
    margin-top: 15px;
    color: var(--text-light);
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-fishing-games__faq-item {
    background-color: var(--card-background-dark);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-title {
    font-size: 1.2em;
    color: var(--accent-color);
    margin: 0;
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

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

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

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

/* Conclusion Section */
.page-fishing-games__conclusion-section .page-fishing-games__cta-buttons {
    margin-top: 40px;
}

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

    .page-fishing-games__hero-buttons,
    .page-fishing-games__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: 1em;
    }

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

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

    .page-fishing-games__section-description,
    .page-fishing-games__content-area p {
        font-size: 0.95em;
    }

    .page-fishing-games__content-area,
    .page-fishing-games__faq-list,
    .page-fishing-games__feature-list {
        padding: 0 15px;
    }

    /* Images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Image containers responsive */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    /* Video responsive */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Video container responsive */
    .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__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__card-image {
        height: 200px;
    }

    .page-fishing-games__feature-list li {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

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

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