/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-text-yellow: #FFFF00;
    --background-light: #FFFFFF;
    --background-dark: #017439;
}

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

/* Sections */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

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

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

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

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

.page-fishing-games__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    text-align: justify;
}

.page-fishing-games__link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__dark-bg .page-fishing-games__link {
    color: var(--button-text-yellow);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
    box-sizing: border-box;
}

.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;
    color: var(--text-light);
    max-width: 900px;
    padding: 0 20px;
}

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

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

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

.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: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

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

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

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

/* Content Images */
.page-fishing-games__image-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.page-fishing-games__image-content--large {
    max-width: 800px;
}

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

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

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: var(--button-text-yellow);
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: var(--text-light);
}

/* Game Types Section */
.page-fishing-games__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__game-card {
    background-color: var(--background-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 1.6em;
    margin: 20px 0 10px;
    color: var(--primary-color);
}

.page-fishing-games__card-title a {
    color: inherit;
    text-decoration: none;
}

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

.page-fishing-games__card-description {
    padding: 0 20px 20px;
    font-size: 0.95em;
    color: var(--text-dark);
}

/* How to Play Section */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-fishing-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--button-text-yellow);
    margin-bottom: 15px;
}

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

.page-fishing-games__step-description {
    font-size: 1em;
    color: var(--text-light);
}

/* Strategy Section */
.page-fishing-games__strategy-list {
    list-style: disc inside;
    margin-top: 30px;
    padding-left: 20px;
    font-size: 1.1em;
}

.page-fishing-games__strategy-list li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-title {
    font-size: 1.6em;
    color: var(--button-text-yellow);
    margin-bottom: 15px;
}

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

/* Security Section */
.page-fishing-games__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    font-size: 1.1em;
}

.page-fishing-games__security-list li {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.page-fishing-games__security-list li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
}

/* Video Section */
.page-fishing-games__video-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 60px;
    box-sizing: border-box;
}

.page-fishing-games__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: var(--background-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.page-fishing-games__faq-question:hover {
    background-color: #f0f0f0;
}

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

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

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

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-fishing-games__cta-bottom-section .page-fishing-games__text-block {
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2em;
}

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        height: 500px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__container {
        padding: 30px 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block, 
    .page-fishing-games__strategy-list li, 
    .page-fishing-games__security-list li,
    .page-fishing-games__faq-answer p {
        font-size: 0.95em;
    }
    
    /* Images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__image-content--large {
        max-width: 100% !important;
    }
    .page-fishing-games__game-card .page-fishing-games__card-image {
        height: 180px;
    }

    /* Video responsive */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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;
    }

    /* FAQ responsive */
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 10px 15px;
    }

    /* Ensure containers don't overflow */
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__intro-section .page-fishing-games__container,
    .page-fishing-games__features-section .page-fishing-games__container,
    .page-fishing-games__game-types-section .page-fishing-games__container,
    .page-fishing-games__how-to-play-section .page-fishing-games__container,
    .page-fishing-games__strategy-section .page-fishing-games__container,
    .page-fishing-games__promotions-section .page-fishing-games__container,
    .page-fishing-games__security-section .page-fishing-games__container,
    .page-fishing-games__faq-section .page-fishing-games__container,
    .page-fishing-games__cta-bottom-section .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-section {
        height: 400px;
    }
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
}