/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --dark-bg-color: #0d0d0d;
    --light-bg-color: #ffffff;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-font-register-login: #FFFF00;
}

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 0; /* Handled by body padding-top from shared.css */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 40px; /* Space between image and text */
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Logo Carousel Section */
.page-fishing-games__logo-carousel-section {
    padding: 10px 20px 60px;
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-on-light);
}

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

.page-fishing-games__logo-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__logo-item {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-fishing-games__logo-item:hover {
    transform: translateY(-5px);
}

.page-fishing-games__logo-item img {
    max-width: 60px;
    max-height: 60px;
    height: auto;
    display: block;
}

/* General Content Sections */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-fishing-games__intro-section,
.page-fishing-games__guide-section,
.page-fishing-games__weapons-section,
.page-fishing-games__strategy-section,
.page-fishing-games__games-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__intro-section .page-fishing-games__section-title,
.page-fishing-games__weapons-section .page-fishing-games__section-title,
.page-fishing-games__games-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__section-title {
    color: var(--text-on-dark);
}

.page-fishing-games__intro-section .page-fishing-games__section-description,
.page-fishing-games__weapons-section .page-fishing-games__section-description,
.page-fishing-games__games-section .page-fishing-games__section-description,
.page-fishing-games__cta-section .page-fishing-games__section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__feature-card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
}

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

.page-fishing-games__feature-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-fishing-games__feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-on-light);
}

/* Guide Steps */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__step-card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-dark);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-fishing-games__step-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

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

.page-fishing-games__weapon-card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
}

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

.page-fishing-games__weapon-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-fishing-games__weapon-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-fishing-games__weapon-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-on-light);
}

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

.page-fishing-games__strategy-item {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-dark);
    text-align: left;
}

.page-fishing-games__strategy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__strategy-item-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-fishing-games__strategy-item-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.page-fishing-games__game-card {
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
    text-align: left;
}

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

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

.page-fishing-games__game-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__game-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-on-light);
    margin-bottom: 20px;
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: var(--text-on-dark);
    padding: 0;
}

.page-fishing-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary:hover {
    background-color: #015f2f;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    width: 25px;
    text-align: center;
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

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

.page-fishing-games__faq-answer a {
    color: var(--button-font-register-login);
    text-decoration: underline;
}

/* CTA Section */
.page-fishing-games__cta-container {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    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-font-register-login);
    border: 2px solid var(--button-register);
}

.page-fishing-games__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
    transform: translateY(-3px);
}

.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);
    transform: translateY(-3px);
}

.page-fishing-games__btn-primary--small {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* General Image Styling */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-fishing-games__hero-description {
        font-size: 1.1rem;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }

    .page-fishing-games__section-description {
        font-size: 1rem;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__weapons-grid,
    .page-fishing-games__strategy-list,
    .page-fishing-games__games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .page-fishing-games__faq-item summary {
        font-size: 1.1rem;
        padding: 18px 20px;
    }

    .page-fishing-games__faq-answer {
        font-size: 0.95rem;
        padding: 18px 20px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section {
        padding-bottom: 40px;
        min-height: 500px;
    }
    
    .page-fishing-games__hero-image-wrapper {
        max-height: 300px;
    }

    .page-fishing-games__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* LOGO Carousel Section */
    .page-fishing-games__logo-carousel-section {
        padding: 10px 15px 40px;
    }

    .page-fishing-games__logo-carousel {
        gap: 20px;
        padding: 0 10px;
    }

    .page-fishing-games__logo-item {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        flex-shrink: 0;
    }

    .page-fishing-games__logo-item img {
        max-width: 50px;
        max-height: 50px;
    }

    /* General Content Sections */
    .page-fishing-games__intro-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__weapons-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__games-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 50px 0;
    }

    .page-fishing-games__container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 15px;
    }

    .page-fishing-games__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    /* Feature Cards */
    .page-fishing-games__features-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__weapons-grid,
    .page-fishing-games__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__step-card,
    .page-fishing-games__weapon-card,
    .page-fishing-games__game-card {
        padding: 25px;
    }

    .page-fishing-games__feature-icon,
    .page-fishing-games__weapon-image,
    .page-fishing-games__game-image {
        height: 180px;
        margin-bottom: 15px;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__step-title,
    .page-fishing-games__weapon-title,
    .page-fishing-games__game-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .page-fishing-games__feature-text,
    .page-fishing-games__step-text,
    .page-fishing-games__weapon-text,
    .page-fishing-games__game-text {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    /* Strategy List */
    .page-fishing-games__strategy-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-fishing-games__strategy-item {
        padding: 25px;
    }

    .page-fishing-games__strategy-item-title {
        font-size: 1.4rem;
    }

    .page-fishing-games__strategy-item-text {
        font-size: 0.9rem;
    }

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

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

    .page-fishing-games__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-toggle {
        font-size: 1.2rem;
    }

    .page-fishing-games__faq-answer {
        font-size: 0.9rem;
        padding: 15px 20px;
    }

    /* CTA Buttons */
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__btn-primary--small {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    /* Universal image responsive rule for content area */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box;
    }

    /* Exclude logo-item from general image rule */
    .page-fishing-games__logo-item img {
        max-width: 50px !important;
        height: auto !important;
        width: auto !important;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__step-card,
    .page-fishing-games__weapon-card,
    .page-fishing-games__game-card,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-left: auto;
        margin-right: auto;
    }

    .page-fishing-games__cta-buttons.page-fishing-games__cta-buttons--center {
        flex-wrap: wrap !important;
        flex-direction: column;
        gap: 10px;
    }
}