/* style/fishing-games-how-to-play.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-color-dark-bg: #ffffff;
    --text-color-light-bg: #333333;
    --background-dark: #121212;
    --background-light: #f8f8f8;
    --card-background-dark: rgba(255, 255, 255, 0.08);
    --card-background-light: #ffffff;
    --border-color-light: #e0e0e0;
    --button-hover-dark: #ccad00;
    --button-hover-light: #a30000;
}

.page-fishing-games-how-to-play {
    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(--background-dark); /* Inherited from shared.css, but set here for clarity */
}

.page-fishing-games-how-to-play__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Desktop: Adjust for fixed header */
    background-color: var(--background-dark);
}

.page-fishing-games-how-to-play__video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-fishing-games-how-to-play__video-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games-how-to-play__video-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-how-to-play__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-how-to-play__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    object-fit: cover;
    pointer-events: none; /* Allow click on the parent <a> */
}

.page-fishing-games-how-to-play__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.page-fishing-games-how-to-play__video-link:hover .page-fishing-games-how-to-play__video-overlay {
    opacity: 1;
}

.page-fishing-games-how-to-play__video-click-hint {
    color: var(--text-color-dark-bg);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    background: rgba(var(--primary-color-rgb, 255, 215, 0), 0.8);
    border-radius: 5px;
    white-space: nowrap;
}

.page-fishing-games-how-to-play__video-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.page-fishing-games-how-to-play__play-now-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color-dark-bg);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-fishing-games-how-to-play__play-now-button:hover {
    background: var(--button-hover-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-how-to-play__play-now-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-fishing-games-how-to-play__title-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--secondary-color); /* Dark Red background */
    color: var(--text-color-dark-bg); /* White text */
    padding-top: 10px; /* Adjust for fixed header */
}

.page-fishing-games-how-to-play__title-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games-how-to-play__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color); /* Gold for H1 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games-how-to-play__title-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
    color: var(--text-color-dark-bg);
}

.page-fishing-games-how-to-play__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-fishing-games-how-to-play__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--text-color-dark-bg);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games-how-to-play__cta-button:hover {
    background: var(--button-hover-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.page-fishing-games-how-to-play__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--background-light); /* Light background for content */
    color: var(--text-color-light-bg); /* Dark text for light background */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: -40px; /* Overlap with title section slightly for visual flow */
    position: relative;
    z-index: 2;
}

.page-fishing-games-how-to-play__section-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games-how-to-play__section-title {
    font-size: 2.5em;
    color: var(--secondary-color); /* Dark Red for section titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.page-fishing-games-how-to-play__sub-title {
    font-size: 1.8em;
    color: var(--primary-color); /* Gold for sub-titles */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-fishing-games-how-to-play p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-color-light-bg);
}

.page-fishing-games-how-to-play__unordered-list,
.page-fishing-games-how-to-play__ordered-list {
    margin-bottom: 20px;
    padding-left: 25px;
    list-style-type: disc;
    color: var(--text-color-light-bg);
}

.page-fishing-games-how-to-play__ordered-list {
    list-style-type: decimal;
}

.page-fishing-games-how-to-play__unordered-list li,
.page-fishing-games-how-to-play__ordered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
    line-height: 1.6;
}

.page-fishing-games-how-to-play__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games-how-to-play__text-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-fishing-games-how-to-play__text-link:hover {
    color: var(--primary-color);
}

.page-fishing-games-how-to-play__cta-buttons--bottom {
    margin-top: 50px;
}

.page-fishing-games-how-to-play__brand-section {
    padding: 80px 20px;
    background-color: var(--background-dark); /* Dark background */
    color: var(--text-color-dark-bg); /* White text */
    text-align: center;
}

.page-fishing-games-how-to-play__brand-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games-how-to-play__brand-title {
    font-size: 2.8em;
    color: var(--primary-color); /* Gold for brand title */
    margin-bottom: 40px;
    font-weight: 700;
}

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

.page-fishing-games-how-to-play__brand-item {
    background-color: var(--card-background-dark); /* Slightly lighter dark background */
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-fishing-games-how-to-play__brand-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games-how-to-play__brand-item-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games-how-to-play__brand-item p,
.page-fishing-games-how-to-play__brand-item li {
    color: var(--text-color-dark-bg);
    font-size: 1em;
    line-height: 1.6;
}

.page-fishing-games-how-to-play__faq-section {
    padding: 80px 20px;
    background-color: var(--background-light); /* Light background */
    color: var(--text-color-light-bg); /* Dark text */
}

.page-fishing-games-how-to-play__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games-how-to-play__faq-main-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.page-fishing-games-how-to-play__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games-how-to-play__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-fishing-games-how-to-play__faq-item.active .page-fishing-games-how-to-play__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 15px !important;
    opacity: 1;
    background: var(--card-background-light);
    border-radius: 0 0 5px 5px;
    color: var(--text-color-light-bg);
}

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

.page-fishing-games-how-to-play__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-fishing-games-how-to-play__faq-question:active {
    background: #eeeeee;
}

.page-fishing-games-how-to-play__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-how-to-play__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-how-to-play__faq-item.active .page-fishing-games-how-to-play__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(45deg); /* Change to X or rotate */
}

.page-fishing-games-how-to-play__blog-section {
    padding: 80px 20px;
    background-color: var(--background-dark); /* Dark background */
    color: var(--text-color-dark-bg); /* White text */
    text-align: center;
}

.page-fishing-games-how-to-play__blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games-how-to-play__blog-title {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.page-fishing-games-how-to-play__blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games-how-to-play__blog-item {
    background-color: var(--card-background-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.page-fishing-games-how-to-play__blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-fishing-games-how-to-play__blog-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.page-fishing-games-how-to-play__blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games-how-to-play__blog-item-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin: 15px 20px 10px;
    font-weight: 600;
    line-height: 1.4;
}

.page-fishing-games-how-to-play__blog-item-excerpt {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 20px 15px;
    line-height: 1.5;
}

.page-fishing-games-how-to-play__blog-item-date {
    display: block;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 20px 20px;
}

.page-fishing-games-how-to-play__cta-buttons--blog {
    margin-top: 50px;
}

.page-fishing-games-how-to-play .highlight-keyword {
    color: var(--primary-color);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games-how-to-play__main-title {
        font-size: 2.8em;
    }
    .page-fishing-games-how-to-play__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games-how-to-play__sub-title {
        font-size: 1.6em;
    }
    .page-fishing-games-how-to-play__brand-title,
    .page-fishing-games-how-to-play__blog-title {
        font-size: 2.4em;
    }
    .page-fishing-games-how-to-play__faq-main-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games-how-to-play__video-section {
        padding-top: 10px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-fishing-games-how-to-play__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }

    .page-fishing-games-how-to-play__video-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games-how-to-play__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 4px;
        overflow: hidden !important;
    }

    .page-fishing-games-how-to-play__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
        object-fit: contain; /* Ensure video fits */
    }

    .page-fishing-games-how-to-play__video-cta {
        margin-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .page-fishing-games-how-to-play__play-now-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 30px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games-how-to-play__video-click-hint {
        font-size: 14px !important;
        padding: 8px 16px !important;
    }

    .page-fishing-games-how-to-play__title-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Mobile: Adjust for fixed header */
    }

    .page-fishing-games-how-to-play__main-title {
        font-size: 2.2em;
    }

    .page-fishing-games-how-to-play__title-description {
        font-size: 1em;
    }

    .page-fishing-games-how-to-play__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-fishing-games-how-to-play__cta-button {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-fishing-games-how-to-play__content-area {
        padding: 40px 15px;
        margin-top: -20px;
    }

    .page-fishing-games-how-to-play__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .page-fishing-games-how-to-play__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-fishing-games-how-to-play p,
    .page-fishing-games-how-to-play__unordered-list li,
    .page-fishing-games-how-to-play__ordered-list li {
        font-size: 1em;
    }

    .page-fishing-games-how-to-play__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games-how-to-play__brand-section {
        padding: 50px 15px;
    }

    .page-fishing-games-how-to-play__brand-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-fishing-games-how-to-play__brand-content {
        grid-template-columns: 1fr;
    }

    .page-fishing-games-how-to-play__brand-item {
        padding: 25px;
    }

    .page-fishing-games-how-to-play__brand-item-title {
        font-size: 1.4em;
    }

    .page-fishing-games-how-to-play__faq-section {
        padding: 50px 15px;
    }

    .page-fishing-games-how-to-play__faq-main-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-fishing-games-how-to-play__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-fishing-games-how-to-play__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-fishing-games-how-to-play__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-fishing-games-how-to-play__faq-answer {
        padding: 0 15px;
    }

    .page-fishing-games-how-to-play__faq-item.active .page-fishing-games-how-to-play__faq-answer {
        padding: 15px !important;
    }

    .page-fishing-games-how-to-play__blog-section {
        padding: 50px 15px;
    }

    .page-fishing-games-how-to-play__blog-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-fishing-games-how-to-play__blog-list {
        grid-template-columns: 1fr;
    }

    .page-fishing-games-how-to-play__blog-image {
        height: 180px;
    }

    .page-fishing-games-how-to-play__blog-item-title {
        font-size: 1.2em;
        margin: 10px 15px 8px;
    }

    .page-fishing-games-how-to-play__blog-item-excerpt,
    .page-fishing-games-how-to-play__blog-item-date {
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-fishing-games-how-to-play__cta-buttons--blog {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games-how-to-play__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games-how-to-play__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games-how-to-play__sub-title {
        font-size: 1.2em;
    }
    .page-fishing-games-how-to-play__brand-title,
    .page-fishing-games-how-to-play__blog-title {
        font-size: 1.8em;
    }
    .page-fishing-games-how-to-play__faq-main-title {
        font-size: 1.8em;
    }
}