/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #1a1a2e;
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --button-register-color: #C30808;
    --button-login-color: #C30808;
    --button-text-color: #FFFF00;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
}

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

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

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

.page-fishing-games__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games__text-link:hover {
    color: var(--light-text-color);
    text-decoration: none;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 20px;
    padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

.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.6);
    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: 3.5em;
    color: var(--light-text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

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

/* 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: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

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

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

.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);
}

.page-fishing-games__btn-register {
    background-color: var(--button-register-color);
    color: var(--button-text-color);
    border: 2px solid var(--button-register-color);
}

.page-fishing-games__btn-login {
    background-color: var(--button-login-color);
    color: var(--button-text-color);
    border: 2px solid var(--button-login-color);
}

.page-fishing-games__btn-register:hover,
.page-fishing-games__btn-login:hover {
    opacity: 0.9;
}

/* Sections */
.page-fishing-games__intro-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__advantages-section,
.page-fishing-games__promotions-section,
.page-fishing-games__conclusion-section,
.page-fishing-games__faq-section,
.page-fishing-games__video-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-fishing-games__section-title {
    font-size: 2.8em;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__guide-section .page-fishing-games__section-title,
.page-fishing-games__promotions-section .page-fishing-games__section-title,
.page-fishing-games__conclusion-section .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__paragraph--centered {
    text-align: center;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__grid--promotions {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-fishing-games__card {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

.page-fishing-games__dark-card .page-fishing-games__card-title {
    color: var(--secondary-color);
}

.page-fishing-games__card-text {
    font-size: 1em;
    line-height: 1.7;
}

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    display: block;
    object-fit: cover;
}

/* Ordered List */
.page-fishing-games__ordered-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__ordered-list li {
    background-color: var(--secondary-color);
    color: var(--dark-text-color);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    counter-increment: step-counter;
    position: relative;
    padding-left: 70px; /* Space for counter */
}

.page-fishing-games__ordered-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

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

.page-fishing-games__list-text {
    font-size: 1em;
    line-height: 1.7;
}

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

/* 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;
    border-radius: 10px;
    margin: 40px auto 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    min-width: 200px;
    min-height: 200px;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--light-text-color);
    transition: background-color 0.3s ease;
}

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

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

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: var(--light-text-color);
    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; /* Sufficient height for content */
    padding: 20px 25px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
    font-size: 1em;
    line-height: 1.7;
}

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

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        height: 60vh;
        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-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        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__hero-cta-group,
    .page-fishing-games__cta-center {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__intro-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__conclusion-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__video-section {
        padding: 40px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__card {
        padding: 20px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__ordered-list li {
        padding: 20px 15px 20px 60px;
    }
    .page-fishing-games__ordered-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
        left: 15px;
    }
    .page-fishing-games__content-image,
    .page-fishing-games__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__video-wrapper,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__video-section .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 1.2em;
    }
}

@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__hero-section {
        height: 50vh;
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-fishing-games__ordered-list li::before {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
}