/* style/fishing-games.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1E90FF; /* Dodger Blue */
    --text-color-dark-bg: #ffffff;
    --text-color-light-bg: #333333;
    --bg-color-light: #f9f9f9;
    --border-color: #e0e0e0;
    --card-bg-dark-theme: rgba(255, 255, 255, 0.1);
    --dark-bg-1: #0d0d0d; /* Assuming from shared.css */
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 120px 0 80px; /* Adjusted for fixed header */
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.9), rgba(0, 0, 0, 0.8)), url('[GALLERY:hero:ww8,fishing-games,main-banner]') no-repeat center center/cover;
    text-align: center;
    color: var(--text-color-dark-bg);
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-fishing-games__description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__cta-button--primary {
    background: var(--primary-color);
    color: #333333; /* Darker text for better contrast on gold */
    border: 2px solid var(--primary-color);
}

.page-fishing-games__cta-button--primary:hover {
    background: darken(var(--primary-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--text-color-dark-bg);
    border: 2px solid var(--secondary-color);
}

.page-fishing-games__cta-button--secondary:hover {
    background: darken(var(--secondary-color), 10%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__section-subtitle {
    font-size: 1.3em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__dark-section {
    background-color: #1a1a1a;
    color: var(--text-color-dark-bg);
    padding: 80px 0;
}

.page-fishing-games__light-bg {
    background-color: var(--bg-color-light);
    color: var(--text-color-light-bg);
    padding: 80px 0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--secondary-color);
    text-shadow: none;
}

.page-fishing-games__light-bg .page-fishing-games__section-subtitle,
.page-fishing-games__light-bg p {
    color: var(--text-color-light-bg);
}

.page-fishing-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.page-fishing-games__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-fishing-games__text-block {
    flex: 1;
    font-size: 1.1em;
}

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

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

/* Game List Section */
.page-fishing-games__games-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
}

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

.page-fishing-games__game-card {
    background: var(--card-bg-dark-theme);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #cccccc;
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-fishing-games__game-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-color-dark-bg);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 90%;
    box-sizing: border-box;
}

.page-fishing-games__game-button:hover {
    background: darken(var(--secondary-color), 10%);
}

/* Benefits Section */
.page-fishing-games__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__benefit-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

/* Guide Section */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-fishing-games__guide-list li {
    background: var(--card-bg-dark-theme);
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__guide-list li h3 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-fishing-games__guide-list li p {
    color: #cccccc;
}

/* Strategy Section */
.page-fishing-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__strategy-card {
    background: var(--card-bg-dark-theme);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__promo-list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-fishing-games__promo-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-fishing-games__promo-list li strong {
    color: var(--primary-color);
}

/* App Section */
.page-fishing-games__app-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-fishing-games__app-features li {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1.1em;
}

.page-fishing-games__app-features li strong {
    color: var(--primary-color);
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color-light-bg);
    pointer-events: none;
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    background: #f0f0f0;
    border-top: none;
    border-radius: 0 0 5px 5px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f0f0f0;
    color: var(--text-color-light-bg);
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__description {
    margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 2.8em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__description, .page-fishing-games__section-subtitle {
        font-size: 1.1em;
    }
    .page-fishing-games__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-fishing-games__image-wrapper {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 100px !important; /* Mobile padding for fixed header */
        padding-bottom: 60px;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2em;
    }
    .page-fishing-games__description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        padding-top: 40px;
    }
    .page-fishing-games__section-subtitle {
        font-size: 1em;
    }
    .page-fishing-games__dark-section, .page-fishing-games__light-bg {
        padding: 60px 0;
    }
    .page-fishing-games__content-wrapper {
        gap: 20px;
    }
    .page-fishing-games__text-block {
        font-size: 1em;
    }
    .page-fishing-games__image {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__game-list, .page-fishing-games__benefits-grid, .page-fishing-games__strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__game-image {
        height: 180px;
    }
    .page-fishing-games__game-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__guide-list li {
        padding: 20px;
    }
    .page-fishing-games__faq-question {
        padding: 15px;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 1em;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }
    .page-fishing-games__promo-list, .page-fishing-games__app-features {
        margin-left: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__promo-list li, .page-fishing-games__app-features li {
        font-size: 1em;
    }
}

/* Ensure all images and video containers are responsive on mobile */
@media (max-width: 768px) {
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__image-wrapper, .page-fishing-games__game-card, .page-fishing-games__benefit-item, .page-fishing-games__strategy-card, .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-fishing-games__cta-buttons {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}